All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Derive
Default
for all measurement structs - Accept
lb
as a synonym forlbs
for mass.
- Replaced the
no_std
feature with an additivestd
feature, fixing problems with serde serialization onno_std
targets.
- Humidity and density in #27
- Support for parsing many values from strings.
- Merged in #36 to adjust bounds on
Measurements::pick_appropriate_units()
, which changes the return value for cases when the value is 1.0. - More accurate factors for meter to inch, feet, yard, furlong, mile.
- This Changelog.
- Serde support.
Merged in #17 to add:
- nanoamps
- microwatts
- milliwatts
- microvolts
The tests now work correctly after the #[no_std]
move.
Now builds for #[no_std]
targets.
Adds:
- Electrical Current (in Amps)
- Electrical Resistance (in Ohms)
- Corresponding updates to Power and Voltage
Added the Voltage type, in Volts.
Uses the time crate, to avoid std::time
(which isn't available with #[no_std]
).
Adds:
- Angles
- Angular Velocity
- Area
- Data (bytes, etc)
- Force
- Frequency
- Mass
- Metric Horsepower (PS)
Changed Pressure to be in Pascals. Also add a bunch of tests and doc fixes.