[dependencies.proc-macro2]
version = "1.0.94"
[dependencies.quote]
version = "1.0.40"
[dependencies.syn]
features = ["full"]
version = "2.0.100"
[dev-dependencies.syn]
features = ["full", "extra-traits"]
version = "2.0.100"
[lib]
name = "assert_layout"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Tom Anderson <tom@ando.sh>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "development-tools::debugging", "development-tools::testing", "rust-patterns"]
description = "Assert struct layouts, including field sizes and offsets."
edition = "2024"
keywords = ["assert", "layout", "sizeof", "offset"]
license = "MIT OR Apache-2.0"
name = "assert_layout"
readme = "README.md"
repository = "https://github.com/andogq/assert_layout"
version = "0.0.1"
[[test]]
name = "const-generic"
path = "tests/const-generic.rs"
[[test]]
name = "generic"
path = "tests/generic.rs"
[[test]]
name = "multi-generic"
path = "tests/multi-generic.rs"
[[test]]
name = "namespaced"
path = "tests/namespaced.rs"
[[test]]
name = "namespaced-with-default"
path = "tests/namespaced-with-default.rs"
[[test]]
name = "nested-trait-generic"
path = "tests/nested-trait-generic.rs"
[[test]]
name = "simple"
path = "tests/simple.rs"
[[test]]
name = "trait-generic"
path = "tests/trait-generic.rs"