[package]
edition = "2021"
rust-version = "1.85"
name = "hap-model"
version = "1.2.0"
authors = ["hap-rust contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HomeKit Accessory Protocol attribute database: accessory/service/characteristic model and HAP-defined types."
homepage = "https://github.com/phunapps/hap-rust"
readme = "README.md"
keywords = [
"homekit",
"hap",
"accessory",
"characteristic",
"iot",
]
categories = [
"data-structures",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/phunapps/hap-rust"
[lib]
name = "hap_model"
path = "src/lib.rs"
[[test]]
name = "accessories"
path = "tests/accessories.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "characteristics"
path = "tests/characteristics.rs"
[[test]]
name = "database"
path = "tests/database.rs"
[dependencies.base64]
version = "0.22"
[dependencies.hap-tlv8]
version = "1.0.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[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