Drop the embassy-sync git patch once a release carries poll_next_message / poll_changed
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- build-system, embedded-iot
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 101
- Fork
- 20
- Merge trung bình
- 2 giờ 33 phút
- Pull request đã merge (30 ngày)
- 90
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aimdb-dev/aimdb
-
🏷️ good first issue enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aimdb-dev/aimdb
Issue tương tự
-
Panic on live viewport resize when unstyled elements exist in display: none subtreeCó thể đã có người làm @GoCoder7 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
DioxusLabs/blitz#1488 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S-Needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
vectordotdev/vrl#2042 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày