zerocopy-derive 0.8.11

Custom derive for traits from the zerocopy crate
Documentation
[dependencies.proc-macro2]
version = "1.0.1"

[dependencies.quote]
version = "1.0.10"

[dependencies.syn]
features = ["full"]
version = "2.0.46"

[dev-dependencies.dissimilar]
version = "1.0.9"

[dev-dependencies.libc]
version = "=0.2.163"

[dev-dependencies.once_cell]
version = "=1.9"

[dev-dependencies.prettyplease]
version = "=0.2.17"

[dev-dependencies.rustversion]
version = "1.0"

[dev-dependencies.static_assertions]
version = "1.1"

[dev-dependencies.trybuild]
features = ["diff"]
version = "=1.0.89"

[lib]
name = "zerocopy_derive"
path = "src/lib.rs"
proc-macro = true

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(zerocopy_derive_union_into_bytes)"]
level = "warn"
priority = 0

[package]
authors = ["Joshua Liebow-Feeser <joshlf@google.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Custom derive for traits from the zerocopy crate"
edition = "2021"
exclude = [".*", "tests/enum_from_bytes.rs", "tests/ui-nightly/enum_from_bytes_u16_too_few.rs.disabled"]
license = "BSD-2-Clause OR Apache-2.0 OR MIT"
name = "zerocopy-derive"
readme = false
repository = "https://github.com/google/zerocopy"
version = "0.8.11"

[[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 = "hygiene"
path = "tests/hygiene.rs"

[[test]]
name = "include"
path = "tests/include.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 = "trybuild"
path = "tests/trybuild.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"