battery-service: Re-export `embassy_time::Duration`
维护者通常 1 天内回复
@bjackson312006 已经在做这个了。
开始于 2026年6月15日。
评估
这个 Issue 还没有评估数据。
描述
Description
The embassy_time::Duration type is exposed in battery-service's public API via get_timeout() and set_timeout() from controller.rs, but is not re-exported. This creates annoying dependency issues where, to implement the Controller trait, users of battery-service need to pull embassy-time into their project and hardcode it at the exact version battery-service uses.
Proposed Solution
In either controller.rs or lib.rs, add a pub use embassy_time::Duration; to re-export the type.
- 主要语言
- Rust
- 星标
- 23
- 派生
- 53
- 平均合并
- 18 小时 8 分钟
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenDevicePartnership/embedded-services 的其他 Issue
-
[mctp-rs] SmbusEspiMedium::serialize: bounds-check body_wire_len before truncating to byte_count: u8未关闭
难度 2/5 1-3 小时 新手友好度 78/100
OpenDevicePartnership/embedded-services#846 ·
维护者通常 1 天内回复
-
investigate proptest for hid可能重新可做 @williampMSFT 于 54 天前认领,目前没有进行中的 PR。 未关闭
OpenDevicePartnership/embedded-services#937 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Investigate options for const implementation of HID relabeling可能重新可做 @williampMSFT 于 55 天前认领,目前没有进行中的 PR。 未关闭
OpenDevicePartnership/embedded-services#934 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Reach parity with v0.1: enum dispatch to support different device types #927可能重新可做 @RobertZ2011 于 60 天前认领,目前没有进行中的 PR。 未关闭
OpenDevicePartnership/embedded-services#931 · 已指派 1 人 ·
维护者通常 1 天内回复
-
HID-I2C: enable disjoint bus writes可能重新可做 @williampMSFT 于 61 天前认领,目前没有进行中的 PR。 未关闭
OpenDevicePartnership/embedded-services#929 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 OpenDevicePartnership/embedded-services 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
vercel-labs/agent-browser#2017 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
tursodatabase/turso#9405 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
PolyMeilex/Neothesia#447 ·
维护者通常 1 天内回复
-
backend::vllm diffusion multimodal
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
trezor/trezor-firmware#7985 ·
维护者通常 2 天内回复