Repository navigation
v0.13.0
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
Areaquantity added. Additional units still need to be added. - #9
Accelerationquantity added. Additional units still need to be added.
Changed
- [Breaking] Remove the unused
_unitparameter fromQuantity::newand so summon the turbofish. e.g.Length::new(1.0, meter)becomesLength::new::<meter>(1.0). - #22 Change
impl DebugforQuantityto use precision information. Previously the implementation checked thealternateflag which has no affect on printing raw floats. - #27 Change superscripts in documentation to the format supported by
pulldownin anticipation of upcommingrustdocchanges.
Fixed
- #22 Fix
impl SubforQuantityto be implemented in terms of-instead of+.