From fdd595c507abd40863a550428309967769f334f9 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Thu, 2 May 2024 17:55:08 +0000 Subject: [PATCH] Update to latest rs-matter --- Cargo.toml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 771c4e0..cb23ecf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/ivmarkov/esp-idf-matter" license = "MIT OR Apache-2.0" readme = "README.md" build = "build.rs" -#documentation = "https://docs.esp-rs.org/esp-idf-svc/" +#documentation = "https://docs.esp-rs.org/esp-idf-matter/" rust-version = "1.77" [patch.crates-io] @@ -20,6 +20,8 @@ esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc", branch = "gatt" } #esp-idf-svc = { path = "../esp-idf-svc" } rs-matter = { git = "https://github.com/ivmarkov/rs-matter", branch = "wifi" } rs-matter-macros = { git = "https://github.com/ivmarkov/rs-matter", branch = "wifi" } +#rs-matter = { path = "../rs-matter/rs-matter" } +#rs-matter-macros = { path = "../rs-matter/rs-matter-macros" } [profile.release] opt-level = "s" @@ -43,9 +45,9 @@ embassy-sync = "0.5" embassy-time = { version = "0.3", features = ["generic-queue"] } esp-idf-svc = { version = "0.48", default-features = false, features = ["alloc", "embassy-sync", "embassy-time-driver", "experimental"] } embedded-svc = { version = "0.27", default-features = false } -rs-matter = { version = "0.1", default-features = false } +rs-matter = { version = "0.1", default-features = false, features = ["rustcrypto"] } rs-matter-macros = "0.1" -async-io = { version = "2", optional = true, default-features = false } +async-io = { version = "=2.0.0", optional = true, default-features = false } # Workaround for https://github.com/smol-rs/async-lock/issues/84 [build-dependencies] embuild = "0.31.3" @@ -58,3 +60,8 @@ static_cell = "2.1" name = "light" path = "examples/light.rs" required-features = ["examples"] + +[[example]] +name = "light_eth" +path = "examples/light_eth.rs" +required-features = ["examples"]