Skip to content

v0.9.0

Compare
Choose a tag to compare
@isaacholt100 isaacholt100 released this 28 Sep 15:14
· 42 commits to master since this release
ab5cb86

Changes in v0.9.0

Major Changes

  • bnum integers are now #[repr(transparent)], which solves #30.
  • The Slice struct is now #[repr(transparent)].
  • The bnum wrapping_rem method now has the same panic message as wrapping_rem on primitive integers.
  • unchecked_shl and unchecked_shr now take a u32 as the shifting argument instead of Self.
  • The implementations of unchecked_shl and unchecked_shr for bnum integers with 64-bit digits were previously incorrect; they have now been fixed.
  • The implementation of Add<$Digit> on all bnum unsigned integers was previously incorrect; it has now been fixed.
  • The lcm method on bnum integers no longer panics if self is zero; instead, it returns zero.

Minor Changes

  • Added optional zeroize support.
  • Added optional quickcheck support.
  • Added optional valuable support.
  • Change from manual implementation of PartialEq and Eq to #[derive(PartialEq, Eq)]: this fixes #32.
  • Added trait BTryFrom for fallible conversions between bnum integers - this is a temporary solution to #31.
  • Don't require the std_rng and small_rng features of the rand crate except when testing.

Patches

Auto release notes

Full Changelog: v0.8.0...v0.9.0