[package]
edition = "2021"
rust-version = "1.88"
name = "matter-codec"
version = "0.3.0"
authors = ["matter-rust contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Matter protocol TLV (Tag-Length-Value) encoder and decoder."
homepage = "https://github.com/phunapps/matter-rust"
readme = "README.md"
keywords = [
"matter",
"tlv",
"codec",
"iot",
]
categories = [
"encoding",
"embedded",
]
license = "Apache-2.0"
repository = "https://github.com/phunapps/matter-rust"
[lib]
name = "matter_codec"
path = "src/lib.rs"
[[test]]
name = "chip_composite_vector"
path = "tests/chip_composite_vector.rs"
[[test]]
name = "proptest_round_trip"
path = "tests/proptest_round_trip.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[[bench]]
name = "decode"
path = "benches/decode.rs"
harness = false
[[bench]]
name = "encode"
path = "benches/encode.rs"
harness = false
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.toml]
version = "1.1"
[lints.clippy]
expect_used = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1