[package]
edition = "2021"
rust-version = "1.93"
name = "bacnet-bip-codec"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable no-std BACnet/IP and BACnet/IPv6 (Annexes J and U) BVLL codec"
readme = "README.md"
keywords = [
"bacnet",
"bip",
"bvll",
"ipv6",
"no-std",
]
categories = [
"embedded",
"network-programming",
"no-std",
"no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/jscott3201/rusty-bacnet"
resolver = "3"
[package.metadata.docs.rs]
all-features = true
targets = [
"x86_64-unknown-linux-gnu",
"thumbv7em-none-eabihf",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
bytes = [
"alloc",
"dep:bytes",
]
default = []
heapless = ["dep:heapless"]
[lib]
name = "bacnet_bip_codec"
path = "src/lib.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "ipv6_golden"
path = "tests/ipv6_golden.rs"
[[test]]
name = "ipv6_properties"
path = "tests/ipv6_properties.rs"
[[test]]
name = "ipv6_rejections"
path = "tests/ipv6_rejections.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "rejections"
path = "tests/rejections.rs"
[dependencies.bytes]
version = "1"
optional = true
default-features = false
[dependencies.heapless]
version = "0.9.1"
optional = true
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
dbg_macro = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
unused_must_use = "deny"