Skip to content

v0.22.0

Compare
Choose a tag to compare
@iliekturtles iliekturtles released this 31 Mar 02:16
· 357 commits to master since this release

This release adds the Momentum quantity and additional liter-based volume units.

Added

  • #114 Momentum quantity added.
  • #116 Liter-based volume units added.

Changed

  • Continuous integration setup updated and improved.
    • Rust 1.33.0 is now used for rustfmt, clippy, and tarpaulin jobs.
    • The deny warnings job is joined into the clippy job.
    • The stable + tests job has been updated to catch errors with non-default underlying storage types in SI quantity tests.

Fixed

  • #119 Macros corrected to generate valid code for both 2015 and 2018 editions. Previously the doc test on the $quantities! macro would fail in a Rust 2018 crate. A new test crate, edition_check, was added to ensure uom remains usable in Rust 2018 code.