Skip to content

The Great Refactor Update

Compare
Choose a tag to compare
@kinggoesgaming kinggoesgaming released this 07 Sep 17:26

We have a transition guide for moving from uuid 0.6.x to uuid 0.7.x.


  • Minimum rustc version bumped to 1.22 (#254)

Added

  • Nil variant to uuid::Version (#181)
  • Add uuid::Version to prelude (#188)
  • Allow v3 & v5 Uuids to be constructed from bytes (#270)
  • BytesError for general Uuid use when byte slices are involved (#284)

Changes

  • Move namespace Uuid constants under uuid::Uuid (#187)
  • Use uuid::UuidBytes` instead of [u8;16] (#263)
  • uuid::Uuid::from_bytes() renamed to uuid::Uuid::from_slice(), uuid::Uuid::from_uuid_bytes() renamed to uuid::Uuid::from_bytes() (#299)
  • Uuid prefix removed from structs, enums and functions (#294)

Removed

  • uuid::Uuid::new() method (#214)
  • Remove deprecated use-std feature (#280)

Dependencies

  • Rand to 0.5 (#262)

2018 edition is available. To enable it, use the 2018 branch.


Since 0.7.0-beta

  • fix const_fn marked functions not being const for adapters (#310)
  • Optimize formatting by 80-90% by avoiding write!. (#303)