# 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" name = "rs-matter" version = "0.1.0" authors = [ "Kedar Sovani ", "Ivan Markov", "Project CHIP Authors", ] description = "Native Rust implementation of the Matter (Smart-Home) ecosystem" readme = "README.md" keywords = [ "matter", "smart", "smart-home", "IoT", "ESP32", ] categories = [ "embedded", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/project-chip/matter-rs" [[example]] name = "onoff_light" path = "../examples/onoff_light/src/main.rs" [dependencies.aes] version = "0.8" optional = true [dependencies.async-io] version = "=1.12" optional = true [dependencies.bitflags] version = "1.3" default-features = false [dependencies.byteorder] version = "1.4.3" default-features = false [dependencies.ccm] version = "0.5" features = ["alloc"] optional = true default-features = false [dependencies.critical-section] version = "1.1.1" [dependencies.crypto-bigint] version = "0.4" optional = true default-features = false [dependencies.domain] version = "0.7.2" features = ["heapless"] default_features = false [dependencies.elliptic-curve] version = "0.13.2" optional = true [dependencies.embassy-futures] version = "0.1" [dependencies.embassy-net] version = "0.1" features = [ "igmp", "proto-ipv6", "udp", ] optional = true [dependencies.embassy-net-driver] version = "0.1" optional = true [dependencies.embassy-sync] version = "0.2" [dependencies.embassy-time] version = "0.1.1" [dependencies.foreign-types] version = "0.3.2" optional = true [dependencies.heapless] version = "0.7.16" [dependencies.hkdf] version = "0.12" optional = true [dependencies.hmac] version = "0.12" optional = true [dependencies.log] version = "0.4.17" features = [ "max_level_debug", "release_max_level_debug", ] [dependencies.no-std-net] version = "0.6" [dependencies.num] version = "0.4" default-features = false [dependencies.num-derive] version = "0.3.3" [dependencies.num-traits] version = "0.2.15" default-features = false [dependencies.openssl] version = "0.10.55" optional = true [dependencies.owo-colors] version = "3" [dependencies.p256] version = "0.13.0" features = [ "arithmetic", "ecdh", "ecdsa", ] optional = true default-features = false [dependencies.pbkdf2] version = "0.12" optional = true [dependencies.portable-atomic] version = "1" [dependencies.qrcode] version = "0.12" optional = true default-features = false [dependencies.rand] version = "0.8.5" optional = true [dependencies.rand_core] version = "0.6" optional = true default-features = false [dependencies.rs-matter-macros] version = "0.1" [dependencies.safemem] version = "0.3.3" default-features = false [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.smoltcp] version = "0.10" optional = true default-features = false [dependencies.strum] version = "0.24" features = ["derive"] default-features = false [dependencies.subtle] version = "2.4.1" default-features = false [dependencies.time] version = "0.3" default-features = false [dependencies.verhoeff] version = "1" default-features = false [dependencies.x509-cert] version = "0.2.0" features = ["pem"] optional = true default-features = false [build-dependencies.embuild] version = "0.31.2" [features] alloc = [] backtrace = [] default = [ "os", "mbedtls", ] embassy-net = [ "dep:embassy-net", "dep:embassy-net-driver", "smoltcp", ] esp-idf = [ "std", "rustcrypto", "esp-idf-sys", ] mbedtls = [ "alloc", "dep:mbedtls", ] nightly = [] openssl = [ "alloc", "dep:openssl", "foreign-types", "hmac", "sha2", ] os = [ "std", "backtrace", "env_logger", "nix", "critical-section/std", "embassy-sync/std", "embassy-time/std", ] rustcrypto = [ "alloc", "sha2", "hmac", "pbkdf2", "hkdf", "aes", "ccm", "p256", "elliptic-curve", "crypto-bigint", "x509-cert", "rand_core", ] std = [ "alloc", "rand", "qrcode", "async-io", "esp-idf-sys?/std", "embassy-time/generic-queue-16", ] [target."cfg(not(target_os = \"espidf\"))".dependencies.env_logger] version = "0.10.0" optional = true [target."cfg(not(target_os = \"espidf\"))".dependencies.mbedtls] version = "0.9" optional = true [target."cfg(not(target_os = \"espidf\"))".dependencies.nix] version = "0.26" features = ["net"] optional = true [target."cfg(target_os = \"espidf\")".dependencies.esp-idf-sys] version = "0.33" features = ["native"] optional = true default-features = false [target."cfg(target_os = \"espidf\")".dev-dependencies.embedded-svc] version = "0.25" [target."cfg(target_os = \"espidf\")".dev-dependencies.esp-idf-hal] version = "0.41" features = [ "embassy-sync", "critical-section", ] [target."cfg(target_os = \"espidf\")".dev-dependencies.esp-idf-svc] version = "0.46" features = ["embassy-time-driver"] [target."cfg(target_os = \"espidf\")".dev-dependencies.esp-idf-sys] version = "0.33" features = ["binstart"] default-features = false [target."cfg(target_os = \"macos\")".dependencies.astro-dnssd] version = "0.3"