[package]
edition = "2021"
rust-version = "1.85"
name = "hap-tlv8"
version = "1.0.0"
authors = ["hap-rust contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HomeKit Accessory Protocol TLV8 encoder and decoder (type-length-value, 255-byte fragmentation)."
homepage = "https://github.com/phunapps/hap-rust"
readme = "README.md"
keywords = [
"homekit",
"hap",
"tlv8",
"codec",
"iot",
]
categories = [
"encoding",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/phunapps/hap-rust"
[lib]
name = "hap_tlv8"
path = "src/lib.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies.thiserror]
version = "2"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.toml]
version = "0.8"
[lints.clippy]
doc_markdown = "allow"
expect_used = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "warn"
missing_panics_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_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1