Skip to content

v0.13.0

Choose a tag to compare

@iliekturtles iliekturtles released this 20 Apr 23:44
· 609 commits to master since this release

This release adds numerous tests both for code generated by the quantity!, system!, and $quantities! macros as well as derived quantities. Fixes for issues found during testing noted below. Quantity implementations for Area and Acceleration also added.

Added

  • #6 Area quantity added. Additional units still need to be added.
  • #9 Acceleration quantity added. Additional units still need to be added.

Changed

  • [Breaking] Remove the unused _unit parameter from Quantity::new and so summon the turbofish. e.g. Length::new(1.0, meter) becomes Length::new::<meter>(1.0).
  • #22 Change impl Debug for Quantity to use precision information. Previously the implementation checked the alternate flag which has no affect on printing raw floats.
  • #27 Change superscripts in documentation to the format supported by pulldown in anticipation of upcomming rustdoc changes.

Fixed

  • #22 Fix impl Sub for Quantity to be implemented in terms of - instead of +.