Skip to content

Commit

Permalink
Update to latest rs-matter
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed May 2, 2024
1 parent 3cff4f0 commit fdd595c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"]

0 comments on commit fdd595c

Please sign in to comment.