Drop the embassy-sync git patch once a release carries poll_next_message / poll_changed
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- build-system, embedded-iot
Direzione di ricerca
Start with the [patch.crates-io] block in the workspace Cargo.toml and the matching dependency lines in aimdb-mqtt-connector/Cargo.toml, then check crates.io for an embassy-sync release that includes poll_next_message and poll_changed. Only after that release exists, bump the crates, remove the patch entries, and update PUBLISH_NO_VERIFY in the Makefile. Done means the workspace resolves from registry releases and the embedded build (make test-embedded) passes. The work is blocked on upstream, so confirm the release status with a maintainer first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Tracking issue for moving embassy-sync (and the two crates that follow it) back to crates.io releases.
Background
aimdb-embassy-adapter/src/buffer.rs polls Subscriber::poll_next_message and Receiver::poll_changed directly. Both are merged upstream but not in embassy-sync 0.8.0, still the latest on crates.io. The workspace therefore patches them in (Cargo.toml, [patch.crates-io], added in #343 for #341):
embassy-sync→ embassy git rev03c826fembassy-net-driver-channelandembassy-net-driver→ same rev. Publishedembassy-net-driver-channel0.4.0 calls the pre-guardzerocopy_channelAPI the patched embassy-sync no longer has, and its driver trait must be the same instanceembassy-netsees.
Consequences while the patch is in place:
- Publishing: patches are not published, so the packaged
aimdb-embassy-adaptercannot build itsembassy-syncfeature for a downstream user. The Makefile publishes it without verification (PUBLISH_NO_VERIFY) for this reason. The vendored copy carries the same0.8.0version as the registry release, so nothing flags the mismatch. - Other embassy bumps: pinning further embassy-* crates to git is constrained by this rev. E.g. pointing
embassy-stm32at03c826fto pick up theBufferedUartTX fix fails to resolve (embassy-time-driverconflict), see #382 / #385.
To do once a release carries both APIs
- Bump
embassy-syncin the workspaceCargo.tomland inaimdb-mqtt-connector/Cargo.toml(it declares its ownembassy-sync = "0.8.0"). - Remove the three
[patch.crates-io]entries and their comment; bumpembassy-net-driver-channel/embassy-net-driver(orembassy-net) to releases that match the new embassy-sync. - Drop
aimdb-embassy-adapterfromPUBLISH_NO_VERIFYin the Makefile and update its comment (it still points at #242). - Update the comments that point at the patch (
aimdb-mqtt-connector/Cargo.toml,aimdb-embassy-adapter/src/buffer.rsaround thepoll_*calls). - Check whether this unblocks #385 (embassy-stm32 with the
BufferedUartfix) so both can move together. - Build the embedded targets (
make test-embeddedor equivalent) and smoke-test one Embassy demo on the NUCLEO-H563ZI.
- Lingua principale
- Rust
- Stelle
- 101
- Fork
- 20
- Merge medio
- 2h 33m
- PR unite (30g)
- 90
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aimdb-dev/aimdb
-
🏷️ good first issue enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di aimdb-dev/aimdb
Issue simili
-
Panic on live viewport resize when unstyled elements exist in display: none subtreeForse già presa @GoCoder7 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DioxusLabs/blitz#1488 ·
I maintainer di solito rispondono entro 1 giorno
-
S-Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
vectordotdev/vrl#2042 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno