[package]
edition = "2024"
rust-version = "1.85.0"
name = "bitx"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "More ergonomic way to deal with bitfield-like struct."
documentation = "https://docs.rs/bitx"
readme = "README.md"
categories = [
"no-std",
"no-std::no-alloc",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sharp0802/bitx"
[lib]
name = "bitx"
path = "src/lib.rs"
[[test]]
name = "enum"
path = "tests/enum.rs"
[[test]]
name = "enum_nested"
path = "tests/enum_nested.rs"
[[test]]
name = "enum_no_std"
path = "tests/enum_no_std.rs"
[[test]]
name = "ip"
path = "tests/ip.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "ui_tests"
path = "tests/ui_tests.rs"
[dependencies.bitx-macros]
version = "0.2"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.trybuild]
version = "1.0"
[lints.clippy]
min_ident_chars = "warn"
must_use_candidate = "warn"
nursery = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unused_results = "deny"