[package]
edition = "2024"
name = "packed_bits"
version = "0.3.0"
authors = ["Samuel Onoja <0@sot.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-cost, const-friendly, no_std and memory efficient bit packing library"
documentation = "https://docs.rs/packed_bits"
readme = "README.md"
keywords = [
"bit-packing",
"embedded",
"no-std",
"memory-efficient",
"macro",
]
categories = [
"embedded",
"no-std",
"data-structures",
]
license = "MIT"
repository = "https://github.com/borngraced/packed_bits"
[features]
default = []
derive = ["dep:packed_bits_derive"]
std = []
[lib]
name = "packed_bits"
path = "src/lib.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[dependencies.packed_bits_derive]
version = "0.3.0"
optional = true
[dependencies.paste]
version = "1.0"
[dependencies.static_assertions]
version = "1.0"
[dev-dependencies.packed_bits_derive]
version = "0.3.0"
[dev-dependencies.trybuild]
version = "1.0"