Skip to content

Update uom requirement from 0.37.0 to 0.38.0#23

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/uom-0.38.0
Open

Update uom requirement from 0.37.0 to 0.38.0#23
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/uom-0.38.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

Updates the requirements on uom to permit the latest version.

Changelog

Sourced from uom's changelog.

[v0.38.0] — 2026-02-13

This release adds new quantities, new units, compile time improvements, resolves regressions introduced in v0.37.0, and bumps the MSRV (minimum supported Rust version) to 1.68.0.

The release contains a breaking change to remove unnecessary unit struct fields from Units enum variants. Affected code can be updated by removing the unit struct when using the enum.

- assert_eq!("km", length::Units::kilometer(kilometer).abbreviation());
+ assert_eq!("km", length::Units::kilometer.abbreviation());

The next release of uom will remove the long deprecated use_serde feature. The serde feature should be used in it's place.

Many thanks to elongatedsquid, gdtroszak, Jonahbell, jschillem, nnethercote, portyanikhin, TheComamba, and Turbo87 for pull requests included and issues resolved in this release.

Added

  • #506 Add CompressibilityCoefficient quantity.
  • #512 Add Illuminance quantity.
  • #524 Add ancient Roman units of Length, Area, Volume, and Mass.
  • #526 Add watt_hour_per_square_meter unit to RadiantExposure.
  • #549 Add data_mile unit to Length.

Changed

  • #544 Increase MSRV (minimum supported Rust version) to 1.68.0. Newer versions of serde_json require the update.
  • #553 Use serde_core instead of serde.
  • #552 [Breaking] Remove unnecessary unit struct fields from Units enum variants. The unit struct fields were never used beyond construction.
  • #563 Correct astronomical_unit precision.

Fixed

  • #521 Fix unit! macro to be able to be used in foreign crates when running tests. Correct CI tests to run for all targets to detect future regressions.
  • #533, #536, #537 Improve compile time. v0.38.0 compiles 15 % +/- 1 % faster than v0.37.0 even after the numerous quantity and unit additions. Most improvements involving simplifying macro patterns or call trees.
  • #531, #532, #534,

... (truncated)

Commits
  • 5cef189 Release v0.38.0.
  • 8e4689e Correct astronomical_unit precision.
  • 8c0c03e Merge pull request #521 from Johnabell/fix-unit-tests-foreign-crates-unit-macro
  • 701c35a fix: enable using unit macro in foreign crate under test
  • 494150d Correct CI tests to run for all targets.
  • 0faac65 Consistently use implicit and explicit returns.
  • 2cf2bab Use Rust 1.93.0 for tool checks (rustfmt, clippy, tarpaulin).
  • 6ab9be2 Update Cargo.lock dependencies.
  • 5af6803 Merge pull request #552 from Turbo87/remove-units-enum-fields
  • 049b05d Remove unnecessary unit struct fields from Units enum variants
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [uom](https://github.com/iliekturtles/uom) to permit the latest version.
- [Release notes](https://github.com/iliekturtles/uom/releases)
- [Changelog](https://github.com/iliekturtles/uom/blob/master/CHANGELOG.md)
- [Commits](iliekturtles/uom@v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: uom
  dependency-version: 0.38.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants