Skip to content

Prepare embedded-mcu-hal v0.3.0#30

Merged
felipebalbi merged 1 commit into
OpenDevicePartnership:mainfrom
felipebalbi:release
Jun 1, 2026
Merged

Prepare embedded-mcu-hal v0.3.0#30
felipebalbi merged 1 commit into
OpenDevicePartnership:mainfrom
felipebalbi:release

Conversation

@felipebalbi

Copy link
Copy Markdown
Contributor

Bumps embedded-mcu-hal from 0.2.0 to 0.3.0 and refreshes Cargo.lock.

This is a minor release: all changes since v0.2.0 are additive. cargo semver-checks check-release confirms no breaking changes (196 checks pass).

What's new since v0.2.0

New traits

  • SMBus HAL (Add SMBus HAL, dependent on embedded-hal-async::I2c #7) — adds src/smbus/ with blocking and async Bus traits built on top of embedded-hal-async::I2c, including PEC support via smbus-pec. Comes with an extensive async test suite.
  • I2C target traits (Add I2c target traits #26) — adds 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

  • Improved test coverage (Improve test coverage #24) — new tests for nvram, time::datetime, time::datetime_clock, and watchdog; brings in embedded-hal-mock as a dev-dependency.
  • docs.rs all-features build (ask docs.rs to build with all features #23) — [package.metadata.docs.rs] now builds with chrono and defmt enabled 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)
  • tokio with macros, rt, time (dev only, for async tests)

storage_bus

No changes since storage_bus_v0.1.0 — version stays at 0.1.0.

Verification

  • cargo build -p embedded-mcu-hal — clean
  • cargo semver-checks check-release -p embedded-mcu-hal — no semver update required (treated as minor, all additive)

Release checklist (post-merge)

  • Tag embedded-mcu-hal-v0.3.0 on the merge commit
  • cargo publish -p embedded-mcu-hal

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)
Copilot AI review requested due to automatic review settings June 1, 2026 17:35
@felipebalbi felipebalbi requested a review from a team as a code owner June 1, 2026 17:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-hal package version to 0.3.0 in its Cargo.toml.
  • Refresh Cargo.lock to 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

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Cargo Vet Audit Failed

cargo vet has failed in this PR. Please run cargo vet --locked locally to check for new or updated unvetted dependencies.
Details about the vetting process can be found in supply-chain/README.md

If the unvetted dependencies are not needed

Please modify Cargo.toml file to avoid including the dependencies.

If the unvetted dependencies are needed

Post a new comment with the questionnaire below to the PR to help the auditors vet the dependencies.
After the auditors have vetted the dependencies, the PR will need to be rebased to pick up the new audits and pass this check.

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.

@felipebalbi

Copy link
Copy Markdown
Contributor Author

cargo vet appears to be drunk:

image

I'll merge it.

@felipebalbi felipebalbi merged commit 8a40ca4 into OpenDevicePartnership:main Jun 1, 2026
8 of 9 checks passed
@felipebalbi felipebalbi deleted the release branch June 1, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants