matter-controller 0.3.0

High-level Matter controller API: commission, read, write, invoke, subscribe.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.88"
name = "matter-controller"
version = "0.3.0"
authors = ["matter-rust contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level Matter controller API: commission, read, write, invoke, subscribe."
homepage = "https://github.com/phunapps/matter-rust"
readme = "README.md"
keywords = [
    "matter",
    "controller",
    "smart-home",
    "iot",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/phunapps/matter-rust"

[features]
ble = [
    "dep:matter-ble",
    "matter-ble/central",
]

[lib]
name = "matter_controller"
path = "src/lib.rs"

[[example]]
name = "ble_scan"
path = "examples/ble_scan.rs"
required-features = ["ble"]

[[example]]
name = "commission_ble_thread"
path = "examples/commission_ble_thread.rs"
required-features = ["ble"]

[[example]]
name = "commission_ble_wifi"
path = "examples/commission_ble_wifi.rs"
required-features = ["ble"]

[[example]]
name = "controller_quickstart"
path = "examples/controller_quickstart.rs"

[[example]]
name = "d_hardware_extras"
path = "examples/d_hardware_extras.rs"

[[example]]
name = "dump_attributes"
path = "examples/dump_attributes.rs"

[[example]]
name = "e3_group_multicast"
path = "examples/e3_group_multicast.rs"

[[example]]
name = "e4_subscription_survives_reboot"
path = "examples/e4_subscription_survives_reboot.rs"

[[example]]
name = "fabric_management"
path = "examples/fabric_management.rs"

[[example]]
name = "group_acl_test"
path = "examples/group_acl_test.rs"

[[example]]
name = "icd_register_listen"
path = "examples/icd_register_listen.rs"

[[example]]
name = "list_nodes"
path = "examples/list_nodes.rs"

[[example]]
name = "open_window"
path = "examples/open_window.rs"

[[example]]
name = "power"
path = "examples/power.rs"

[[example]]
name = "provider_server"
path = "examples/provider_server.rs"

[[example]]
name = "serve_ota"
path = "examples/serve_ota.rs"

[[test]]
name = "restart_stability"
path = "tests/restart_stability.rs"

[dependencies.matter-bdx]
version = "0.2.0"

[dependencies.matter-ble]
version = "0.2.0"
optional = true

[dependencies.matter-cert]
version = "0.2.0"

[dependencies.matter-clusters]
version = "0.2.0"

[dependencies.matter-codec]
version = "0.2.0"

[dependencies.matter-commissioning]
version = "0.2.0"
features = ["driver"]

[dependencies.matter-crypto]
version = "0.2.0"

[dependencies.matter-interaction]
version = "0.2.0"

[dependencies.matter-ota]
version = "0.2.0"

[dependencies.matter-transport]
version = "0.2.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]
default-features = false

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.matter-commissioning]
version = "0.2.0"
features = [
    "driver",
    "test-support",
]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "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