1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.56.0" 15name = "zerocopy" 16version = "0.8.23" 17authors = [ 18 "Joshua Liebow-Feeser <joshlf@google.com>", 19 "Jack Wrenn <jswrenn@amazon.com>", 20] 21build = "build.rs" 22exclude = [".*"] 23autolib = false 24autobins = false 25autoexamples = false 26autotests = false 27autobenches = false 28description = '''Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.''' 29readme = "README.md" 30keywords = [ 31 "cast", 32 "convert", 33 "transmute", 34 "transmutation", 35 "type-punning", 36] 37categories = [ 38 "embedded", 39 "encoding", 40 "no-std::no-alloc", 41 "parsing", 42 "rust-patterns", 43] 44license = "BSD-2-Clause OR Apache-2.0 OR MIT" 45repository = "https://github.com/google/zerocopy" 46 47[package.metadata.build-rs] 48zerocopy-aarch64-simd-1-59-0 = "1.59.0" 49zerocopy-core-error-1-81-0 = "1.81.0" 50zerocopy-diagnostic-on-unimplemented-1-78-0 = "1.78.0" 51zerocopy-generic-bounds-in-const-fn-1-61-0 = "1.61.0" 52zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0" 53zerocopy-target-has-atomics-1-60-0 = "1.60.0" 54 55[package.metadata.ci] 56pinned-nightly = "nightly-2024-11-06" 57pinned-stable = "1.85.0" 58 59[package.metadata.docs.rs] 60all-features = true 61rustdoc-args = [ 62 "--cfg", 63 "doc_cfg", 64 "--generate-link-to-definition", 65] 66 67[package.metadata.playground] 68features = ["__internal_use_only_features_that_work_on_stable"] 69 70[features] 71__internal_use_only_features_that_work_on_stable = [ 72 "alloc", 73 "derive", 74 "simd", 75 "std", 76] 77alloc = [] 78derive = ["zerocopy-derive"] 79float-nightly = [] 80simd = [] 81simd-nightly = ["simd"] 82std = ["alloc"] 83 84[lib] 85name = "zerocopy" 86path = "src/lib.rs" 87 88[[test]] 89name = "trybuild" 90path = "tests/trybuild.rs" 91 92[dependencies.zerocopy-derive] 93version = "=0.8.23" 94optional = true 95 96[dev-dependencies.either] 97version = "=1.13.0" 98 99[dev-dependencies.elain] 100version = "0.3.0" 101 102[dev-dependencies.itertools] 103version = "0.11" 104 105[dev-dependencies.rand] 106version = "0.8.5" 107features = ["small_rng"] 108default-features = false 109 110[dev-dependencies.rustversion] 111version = "1.0" 112 113[dev-dependencies.static_assertions] 114version = "1.1" 115 116[dev-dependencies.trybuild] 117version = "=1.0.89" 118features = ["diff"] 119 120[dev-dependencies.zerocopy-derive] 121version = "=0.8.23" 122 123[target."cfg(any())".dependencies.zerocopy-derive] 124version = "=0.8.23" 125