Prepare embedded-mcu-hal v0.3.0#30
Conversation
Felipe Balbi (4):
ask docs.rs to build with all features (OpenDevicePartnership#23)
Improve test coverage (OpenDevicePartnership#24)
Add I2c target traits (OpenDevicePartnership#26)
Add SMBus HAL, dependent on `embedded-hal-async::I2c` (OpenDevicePartnership#7)
There was a problem hiding this comment.
Pull request overview
Bumps the embedded-mcu-hal crate version from 0.2.0 to 0.3.0 in preparation for a minor release that bundles additive changes (SMBus HAL, I2C target traits, improved test coverage, docs.rs all-features build, and license/AI attribution updates) since v0.2.0.
Changes:
- Bump
embedded-mcu-halpackage version to0.3.0in itsCargo.toml. - Refresh
Cargo.lockto reflect the new version.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| embedded-mcu-hal/Cargo.toml | Version bump 0.2.0 → 0.3.0 |
| Cargo.lock | Lockfile updated to match new crate version |
Cargo Vet Audit Failed
If the unvetted dependencies are not neededPlease modify Cargo.toml file to avoid including the dependencies. If the unvetted dependencies are neededPost a new comment with the questionnaire below to the PR to help the auditors vet the dependencies. Copy and paste the questionnaire as a new comment and provide your answers:1. What crates (with version) need to be audited? 2. How many of the crates are version updates vs new dependencies? 3. To confirm none of the already included crates serve your needs, please provide a brief description of the purpose of the new crates. 4. Any extra notes to the auditors to help with their audits. |

Bumps
embedded-mcu-halfrom0.2.0to0.3.0and refreshesCargo.lock.This is a minor release: all changes since
v0.2.0are additive.cargo semver-checks check-releaseconfirms no breaking changes (196 checks pass).What's new since v0.2.0
New traits
embedded-hal-async::I2c#7) — addssrc/smbus/with blocking and asyncBustraits built on top ofembedded-hal-async::I2c, including PEC support viasmbus-pec. Comes with an extensive async test suite.src/i2c/target/with blocking and async traits for I2C target-mode (slave) devices, including a 7-bit/10-bit address abstraction with full unit coverage.Quality & infrastructure
nvram,time::datetime,time::datetime_clock, andwatchdog; brings inembedded-hal-mockas a dev-dependency.[package.metadata.docs.rs]now builds withchronoanddefmtenabled so the rendered docs include the feature-gated APIs.Repo hygiene
New dependencies (embedded-mcu-hal)
embedded-hal-async = "1.0.0"(runtime)smbus-pec = "1.0"(runtime,no_std)embedded-hal-mock(dev only)tokiowithmacros, rt, time(dev only, for async tests)storage_busNo changes since
storage_bus_v0.1.0— version stays at0.1.0.Verification
cargo build -p embedded-mcu-hal— cleancargo semver-checks check-release -p embedded-mcu-hal— no semver update required (treated as minor, all additive)Release checklist (post-merge)
embedded-mcu-hal-v0.3.0on the merge commitcargo publish -p embedded-mcu-hal