[package]
edition = "2024"
name = "bitfld"
version = "0.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic, no-std specification of bitfield layouts"
readme = "README.md"
keywords = [
"bitfield",
"bit-field",
"layout",
]
categories = [
"encoding",
"no-std",
]
license = "MIT"
repository = "https://github.com/joshuaseaton/bitfld"
[lib]
name = "bitfld"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "bitfield-repr"
path = "examples/bitfield-repr.rs"
[[test]]
name = "unittests"
path = "tests/unittests.rs"
[[test]]
name = "usize-comptime-tests"
path = "tests/usize-comptime-tests.rs"
[dependencies.bitfld-macro]
version = "0.9.1"
[dev-dependencies.zerocopy]
version = "0.8"
features = ["derive"]
[lints.clippy]
too_many_arguments = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1