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" 14name = "zerocopy-derive" 15version = "0.8.23" 16authors = [ 17 "Joshua Liebow-Feeser <joshlf@google.com>", 18 "Jack Wrenn <jswrenn@amazon.com>", 19] 20build = false 21exclude = [ 22 ".*", 23 "tests/enum_from_bytes.rs", 24 "tests/ui-nightly/enum_from_bytes_u16_too_few.rs.disabled", 25] 26autolib = false 27autobins = false 28autoexamples = false 29autotests = false 30autobenches = false 31description = "Custom derive for traits from the zerocopy crate" 32readme = false 33license = "BSD-2-Clause OR Apache-2.0 OR MIT" 34repository = "https://github.com/google/zerocopy" 35 36[lib] 37name = "zerocopy_derive" 38path = "src/lib.rs" 39proc-macro = true 40 41[[test]] 42name = "deprecated" 43path = "tests/deprecated.rs" 44 45[[test]] 46name = "enum_from_zeros" 47path = "tests/enum_from_zeros.rs" 48 49[[test]] 50name = "enum_known_layout" 51path = "tests/enum_known_layout.rs" 52 53[[test]] 54name = "enum_no_cell" 55path = "tests/enum_no_cell.rs" 56 57[[test]] 58name = "enum_to_bytes" 59path = "tests/enum_to_bytes.rs" 60 61[[test]] 62name = "enum_try_from_bytes" 63path = "tests/enum_try_from_bytes.rs" 64 65[[test]] 66name = "enum_unaligned" 67path = "tests/enum_unaligned.rs" 68 69[[test]] 70name = "eq" 71path = "tests/eq.rs" 72 73[[test]] 74name = "hash" 75path = "tests/hash.rs" 76 77[[test]] 78name = "hygiene" 79path = "tests/hygiene.rs" 80 81[[test]] 82name = "include" 83path = "tests/include.rs" 84 85[[test]] 86name = "issue_2117" 87path = "tests/issue_2117.rs" 88 89[[test]] 90name = "paths_and_modules" 91path = "tests/paths_and_modules.rs" 92 93[[test]] 94name = "priv_in_pub" 95path = "tests/priv_in_pub.rs" 96 97[[test]] 98name = "struct_from_bytes" 99path = "tests/struct_from_bytes.rs" 100 101[[test]] 102name = "struct_from_zeros" 103path = "tests/struct_from_zeros.rs" 104 105[[test]] 106name = "struct_known_layout" 107path = "tests/struct_known_layout.rs" 108 109[[test]] 110name = "struct_no_cell" 111path = "tests/struct_no_cell.rs" 112 113[[test]] 114name = "struct_to_bytes" 115path = "tests/struct_to_bytes.rs" 116 117[[test]] 118name = "struct_try_from_bytes" 119path = "tests/struct_try_from_bytes.rs" 120 121[[test]] 122name = "struct_unaligned" 123path = "tests/struct_unaligned.rs" 124 125[[test]] 126name = "trybuild" 127path = "tests/trybuild.rs" 128 129[[test]] 130name = "union_from_bytes" 131path = "tests/union_from_bytes.rs" 132 133[[test]] 134name = "union_from_zeros" 135path = "tests/union_from_zeros.rs" 136 137[[test]] 138name = "union_known_layout" 139path = "tests/union_known_layout.rs" 140 141[[test]] 142name = "union_no_cell" 143path = "tests/union_no_cell.rs" 144 145[[test]] 146name = "union_to_bytes" 147path = "tests/union_to_bytes.rs" 148 149[[test]] 150name = "union_try_from_bytes" 151path = "tests/union_try_from_bytes.rs" 152 153[[test]] 154name = "union_unaligned" 155path = "tests/union_unaligned.rs" 156 157[dependencies.proc-macro2] 158version = "1.0.1" 159 160[dependencies.quote] 161version = "1.0.10" 162 163[dependencies.syn] 164version = "2.0.46" 165features = ["full"] 166 167[dev-dependencies.dissimilar] 168version = "1.0.9" 169 170[dev-dependencies.libc] 171version = "=0.2.163" 172 173[dev-dependencies.once_cell] 174version = "=1.9" 175 176[dev-dependencies.prettyplease] 177version = "=0.2.17" 178 179[dev-dependencies.rustversion] 180version = "1.0" 181 182[dev-dependencies.static_assertions] 183version = "1.1" 184 185[dev-dependencies.trybuild] 186version = "=1.0.89" 187features = ["diff"] 188 189[lints.rust.unexpected_cfgs] 190level = "warn" 191priority = 0 192check-cfg = ["cfg(zerocopy_derive_union_into_bytes)"] 193