Skip to content

Releases: rust-embedded-community/rust-measurements

Release 0.11.0

06 Feb 19:45
Compare
Choose a tag to compare

Changed

  • Replaced the no_std feature with an additive std feature, fixing problems with serde serialization on no_std targets.

Release 0.10.4

24 Jan 11:38
Compare
Choose a tag to compare

Added

  • Humidity and density in #27
  • Support for parsing many values from strings.

Changed

  • 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.

Adds Serde support.

11 Oct 08:42
Compare
Choose a tag to compare

There's now a feature flag to add Serialize and Deserialize attributes to all of the measurements. Thanks to @alberdingk-thijm.

More range, captain!

22 May 21:47
Compare
Choose a tag to compare

Merged in #17 to add:

  • nanoamps
  • microwatts
  • milliwatts
  • microvolts

Fixed the tests

22 May 21:48
Compare
Choose a tag to compare

The tests now work correctly after the #[no-std] move.

#[no_std] support

22 May 21:50
Compare
Choose a tag to compare
#[no_std] support Pre-release
Pre-release

Now builds for #[no_std] targets.

Current and Resistance

22 May 21:52
Compare
Choose a tag to compare

Adds:

  • Electrical Current (in Amps)
  • Electrical Resistance (in Ohms)
  • Corresponding updates to Power and Voltage

Adds Voltage

22 May 21:52
Compare
Choose a tag to compare

Added the Voltage type, in Volts.

Use the `time` crate

22 May 21:55
Compare
Choose a tag to compare

Uses the time crate, to avoid std::time (which isn't available with #[no_std]).

More units...

22 May 21:58
Compare
Choose a tag to compare

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.