[package]
edition = "2021"
rust-version = "1.75"
name = "bitframe"
version = "0.1.1"
authors = ["Jan Piotrzkowski"]
build = false
exclude = [
".github/",
".editorconfig",
"CLAUDE.md",
"CONTRIBUTING.md",
"SECURITY.md",
"docs/",
"scripts/",
"tests/",
"justfile",
"deny.toml",
"rustfmt.toml",
"rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro-driven bit-level packet formats with zero-copy parsing and serialization"
homepage = "https://github.com/stateruntime/bitframe"
documentation = "https://docs.rs/bitframe"
readme = "README.md"
keywords = [
"bitfield",
"binary",
"parser",
"telemetry",
"embedded",
]
categories = [
"parsing",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/stateruntime/bitframe"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = []
[lib]
name = "bitframe"
path = "src/lib.rs"
[[example]]
name = "can_bus"
path = "examples/can_bus.rs"
[[example]]
name = "ccsds"
path = "examples/ccsds.rs"
[[example]]
name = "custom_sensor"
path = "examples/custom_sensor.rs"
[dependencies.bitframe-derive]
version = "0.1.1"
[dev-dependencies.behave]
version = "0.8"
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1