Skip to content

v0.24.0

Compare
Choose a tag to compare
@iliekturtles iliekturtles released this 20 Jun 12:20
· 317 commits to master since this release

This release fixes two separate issues to ensure that zero-cost code is generated. Many thanks to raimundomartins, apopiak, and gnzlbg for pull requests included and issues resolved in this release.

Added

  • #145 Add #[repr(transparent)] to Quantity to ensure that the ABI of the underlying storage type is used instead of struct ABI in FFI contexts.

Changed

  • #148 Increase minimum supported rustc version to 1.28.0. Required to support #[repr(transparent)].

Fixed

  • #143 Correct to_base and from_base to be zero-cost for float storage types.
  • #147 Correct typos in README and crate-level documentation.