[[bench]]
harness = false
name = "bitfield_compare"
path = "benches/bitfield_compare.rs"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
features = ["full", "extra-traits"]
version = "^2"
[dev-dependencies.bitfield-struct]
version = "0.8"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.modular-bitfield]
version = "0.11"
[dev-dependencies.packed_struct]
version = "0.10"
[dev-dependencies.trybuild]
version = "1"
[[example]]
name = "bit_order"
path = "examples/bit_order.rs"
[[example]]
name = "packet"
path = "examples/packet.rs"
[lib]
name = "packbits"
path = "src/lib.rs"
proc-macro = true
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "embedded", "emulators", "encoding", "no-std"]
description = "Tiny, zero-boilerplate bit packing for your own structs: convert to/from fixed-size byte arrays and integer containers with one attribute."
documentation = "https://docs.rs/packbits"
edition = "2024"
include = ["src/**", "Cargo.toml", "README.md", "LICENSE*", "docs/**", "examples/**", "rustfmt.toml", "benches/**", "tests/**"]
keywords = ["bitfield", "bits", "packing", "proc-macro", "no_std"]
license = "Apache-2.0"
name = "packbits"
readme = "README.md"
repository = "https://github.com/dempfi/packbits"
rust-version = "1.85"
version = "0.1.1"
[[test]]
name = "bool_and_bytes"
path = "tests/bool_and_bytes.rs"
[[test]]
name = "cropping"
path = "tests/cropping.rs"
[[test]]
name = "i64"
path = "tests/i64.rs"
[[test]]
name = "int_container"
path = "tests/int_container.rs"
[[test]]
name = "msb_lsb"
path = "tests/msb_lsb.rs"
[[test]]
name = "nested"
path = "tests/nested.rs"
[[test]]
name = "nested_struct"
path = "tests/nested_struct.rs"
[[test]]
name = "other_types"
path = "tests/other_types.rs"
[[test]]
name = "signed"
path = "tests/signed.rs"
[[test]]
name = "signed_more"
path = "tests/signed_more.rs"
[[test]]
name = "tuple_struct"
path = "tests/tuple_struct.rs"
[[test]]
name = "u128"
path = "tests/u128.rs"
[[test]]
name = "u64"
path = "tests/u64.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"