# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56.0" name = "zerocopy" version = "0.8.13" authors = ["Joshua Liebow-Feeser "] build = "build.rs" exclude = [".*"] autobins = false autoexamples = false autotests = false autobenches = false description = '''Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.''' readme = "README.md" keywords = [ "cast", "convert", "transmute", "transmutation", "type-punning", ] categories = [ "embedded", "encoding", "no-std::no-alloc", "parsing", "rust-patterns", ] license = "BSD-2-Clause OR Apache-2.0 OR MIT" repository = "https://github.com/google/zerocopy" [package.metadata.build-rs] zerocopy-aarch64-simd-1-59-0 = "1.59.0" zerocopy-core-error-1-81-0 = "1.81.0" zerocopy-diagnostic-on-unimplemented-1-78-0 = "1.78.0" zerocopy-generic-bounds-in-const-fn-1-61-0 = "1.61.0" zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0" zerocopy-target-has-atomics-1-60-0 = "1.60.0" [package.metadata.ci] pinned-nightly = "nightly-2024-11-06" pinned-stable = "1.83.0" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", "--generate-link-to-definition", ] [package.metadata.playground] features = ["__internal_use_only_features_that_work_on_stable"] [lib] name = "zerocopy" path = "src/lib.rs" [[test]] name = "trybuild" path = "tests/trybuild.rs" [dependencies.zerocopy-derive] version = "=0.8.13" optional = true [dev-dependencies.elain] version = "0.3.0" [dev-dependencies.itertools] version = "0.11" [dev-dependencies.rand] version = "0.8.5" features = ["small_rng"] default-features = false [dev-dependencies.rustversion] version = "1.0" [dev-dependencies.static_assertions] version = "1.1" [dev-dependencies.trybuild] version = "=1.0.89" features = ["diff"] [dev-dependencies.zerocopy-derive] version = "=0.8.13" [features] __internal_use_only_features_that_work_on_stable = [ "alloc", "derive", "simd", "std", ] alloc = [] derive = ["zerocopy-derive"] float-nightly = [] simd = [] simd-nightly = ["simd"] std = ["alloc"] [target."cfg(any())".dependencies.zerocopy-derive] version = "=0.8.13"