Skip to content

Commit 0dc3141

Browse files
committed
build: patch embedded-svc to git master for the mqtt_protocol_v5 feature
Cargo validates `dep/feature` references in the manifest even when the feature is not activated, so naming `embedded-svc/mqtt_protocol_v5` fails resolution against the published embedded-svc 0.29.0 regardless of gating. Add embedded-svc to the existing sibling-crate patch table, the same way esp-idf-sys and esp-idf-hal are already handled, so the crate resolves once esp-rs/embedded-svc#87 lands on master.
1 parent 4eadb47 commit 0dc3141

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ async-io = { version = "0.4", package = "async-io-mini", default-features = fals
8484
[patch.crates-io]
8585
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys", branch = "master" }
8686
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal", branch = "master" }
87+
# Needed for the `mqtt_protocol_v5` feature (the `mqtt::client5` traits), which is not in
88+
# a published embedded-svc release yet. Drop once embedded-svc is released with it.
89+
embedded-svc = { git = "https://github.com/esp-rs/embedded-svc", branch = "master" }

0 commit comments

Comments
 (0)