cargo : zerocopy-derive @ 0.8.50
PE Patrick Elsen signed 2026-06-02 published 2026-06-02

Cargo.toml

210 lines · toml · 1 line annotation

# 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"name = "zerocopy-derive"version = "0.8.50"authors = [    "Joshua Liebow-Feeser <joshlf@google.com>",    "Jack Wrenn <jswrenn@amazon.com>",]build = falseexclude = [    ".*",    "tests/enum_from_bytes.rs",    "tests/ui-nightly/enum_from_bytes_u16_too_few.rs.disabled",]autolib = falseautobins = falseautoexamples = falseautotests = falseautobenches = falsedescription = "Custom derive for traits from the zerocopy crate"readme = falselicense = "BSD-2-Clause OR Apache-2.0 OR MIT"repository = "https://github.com/google/zerocopy"[lib]
name = "zerocopy_derive"path = "src/lib.rs"proc-macro = true
Line 37–39

[lib] proc-macro = true declaration. Proc macros execute at compile time on every downstream consumer's machine, justifying has-build-exec.

[[test]]name = "deprecated"path = "tests/deprecated.rs"[[test]]name = "enum_from_zeros"path = "tests/enum_from_zeros.rs"[[test]]name = "enum_known_layout"path = "tests/enum_known_layout.rs"[[test]]name = "enum_no_cell"path = "tests/enum_no_cell.rs"[[test]]name = "enum_to_bytes"path = "tests/enum_to_bytes.rs"[[test]]name = "enum_try_from_bytes"path = "tests/enum_try_from_bytes.rs"[[test]]name = "enum_unaligned"path = "tests/enum_unaligned.rs"[[test]]name = "eq"path = "tests/eq.rs"[[test]]name = "hash"path = "tests/hash.rs"[[test]]name = "hygiene"path = "tests/hygiene.rs"[[test]]name = "include"path = "tests/include.rs"[[test]]name = "issue_2117"path = "tests/issue_2117.rs"[[test]]name = "issue_2835"path = "tests/issue_2835.rs"[[test]]name = "issue_2880"path = "tests/issue_2880.rs"[[test]]name = "issue_2915"path = "tests/issue_2915.rs"[[test]]name = "on_error"path = "tests/on_error.rs"[[test]]name = "paths_and_modules"path = "tests/paths_and_modules.rs"[[test]]name = "priv_in_pub"path = "tests/priv_in_pub.rs"[[test]]name = "struct_from_bytes"path = "tests/struct_from_bytes.rs"[[test]]name = "struct_from_zeros"path = "tests/struct_from_zeros.rs"[[test]]name = "struct_known_layout"path = "tests/struct_known_layout.rs"[[test]]name = "struct_no_cell"path = "tests/struct_no_cell.rs"[[test]]name = "struct_to_bytes"path = "tests/struct_to_bytes.rs"[[test]]name = "struct_try_from_bytes"path = "tests/struct_try_from_bytes.rs"[[test]]name = "struct_unaligned"path = "tests/struct_unaligned.rs"[[test]]name = "ui"path = "tests/ui.rs"[[test]]name = "union_from_bytes"path = "tests/union_from_bytes.rs"[[test]]name = "union_from_zeros"path = "tests/union_from_zeros.rs"[[test]]name = "union_known_layout"path = "tests/union_known_layout.rs"[[test]]name = "union_no_cell"path = "tests/union_no_cell.rs"[[test]]name = "union_to_bytes"path = "tests/union_to_bytes.rs"[[test]]name = "union_try_from_bytes"path = "tests/union_try_from_bytes.rs"[[test]]name = "union_unaligned"path = "tests/union_unaligned.rs"[[test]]name = "unsafe_cell"path = "tests/unsafe_cell.rs"[dependencies.proc-macro2]version = "1.0.1"[dependencies.quote]version = "1.0.40"[dependencies.syn]version = "2.0.46"features = ["full"][dev-dependencies.dissimilar]version = "1.0.9"[dev-dependencies.prettyplease]version = "=0.2.17"[dev-dependencies.rustversion]version = "1.0"[dev-dependencies.static_assertions]version = "1.1"[dev-dependencies.syn]version = "2.0.46"features = ["visit"][lints.rust.unexpected_cfgs]level = "warn"priority = 0check-cfg = [    "cfg(zerocopy_derive_union_into_bytes)",    "cfg(zerocopy_unstable_derive_on_error)",]