Drop the embassy-sync git patch once a release carries poll_next_message / poll_changed
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 101
- フォーク
- 20
- 平均マージ
- 2時間 33分
- マージ済み PR(30日)
- 90
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aimdb-dev/aimdb のほかの issue
-
🏷️ good first issue enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
aimdb-dev/aimdb の issue をすべて見る
似ている issue
-
Panic on live viewport resize when unstyled elements exist in display: none subtree対応中かも @GoCoder7 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DioxusLabs/blitz#1488 ·
メンテナーはふだん 1 日以内に返信
-
S-Needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
vectordotdev/vrl#2042 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信