heapsz 0.1.0

A crate for calculating the heap usage of a data structure.
Documentation
[dependencies.bytes]
optional = true
version = "1"

[dependencies.protobuf2]
optional = true
package = "protobuf"
version = "2"

[dev-dependencies.snapbox]
version = "0.5"

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

[[example]]
name = "with"
path = "examples/with.rs"

[[example]]
name = "blank"
path = "examples/blank.rs"

[[example]]
name = "blocklisting"
path = "examples/blocklisting.rs"

[[example]]
name = "enums"
path = "examples/enums.rs"

[[example]]
name = "tuples"
path = "examples/tuples.rs"

[[example]]
name = "allowlisting"
path = "examples/allowlisting.rs"

[features]
bytes = ["dep:bytes"]
protobuf2 = ["dep:protobuf2"]

[lib]
name = "heapsz"
path = "src/lib.rs"

[package]
authors = ["Neil Shen <overvenus@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "A crate for calculating the heap usage of a data structure."
documentation = "https://docs.rs/heapsz"
edition = "2021"
license = "MIT"
name = "heapsz"
readme = "README.md"
repository = "https://github.com/overvenus/heapsz"
version = "0.1.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "ui"
path = "tests/ui.rs"

[[test]]
name = "expand"
path = "tests/expand.rs"