Releases: uuid-rs/uuid
Releases · uuid-rs/uuid
The Great Refactor Update
We have a transition guide for moving from
uuid 0.6.x
touuid 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
Uuid
s to be constructed from bytes (#270) BytesError
for generalUuid
use when byte slices are involved (#284)
Changes
- Move namespace
Uuid
constants underuuid::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 touuid::Uuid::from_bytes()
(#299) Uuid
prefix removed from structs, enums and functions (#294)
Removed
Dependencies
- Rand to
0.5
(#262)
2018 edition is available. To enable it, use the 2018
branch.
Since 0.7.0-beta
Beta of Major Refactors
Minimum rustc version bumped to 1.22 (#254)
Added:
- Nil variant to UuidVersion (#181)
- Add UuidVersion to prelude (#188)
- support for u128 (#201)
- Allow v3 & v5 to be constructed from bytes (#270)
- BytesError for general Uuid use (#284)
Changes:
- Move namespaces into Uuid::(#187)
- Use UuidBytes instead of
[u8;16]
(#263) - from_bytes renamed to from_slice, from_uuid_bytes renamed to from_bytes (#299)
- Uuid Prefix removed from functions (#294)
Removed:
Dependencies:
- Rand to 0.5 (#262)
2018 edition is available. To enable it, use the 2018 branch
Const Fn Bug Fix
Fixes:
- Fixes name of the feature in lib.rs (#246)
Const fns are here
Introducing: The Prelude
Create uuid from random bytes
Changelog:
- from_random_bytes added as a workaround for making
rand
public (#172)
Other miscellaneous changes (non-public):
use_std brought back for backward compatibility
Default Std
- Cargo.toml updated to reflect repository changes (#148)
- Minimum supported rustc version added (#143)
- Update Sha1 dependency to
0.50.6 (#142 and #146) - UuidV1ClockSequence trait added (#137)
from beta release:
- make std default feature (#130 #131)
- macro use cleanup (#125)
- remove rustc_serialize support (#112)
- make rand a private dependency
- fix some doc rendering issues
- bump sha-1 to 0.4 (#110)
- rename use_std to std (#107)
- Add tests for compact/readable representations (#105)
- Remove use of serde_test (#104)
- Add impl fmt::{UpperHex,LowerHex} for {Uuid,Hyphenated,Simple} (#103)
Default Std
- make std default feature (#130 #131)
- macro use cleanup (#125)
- remove rustc_serialize support (#112)
- make rand a private dependency
- fix some doc rendering issues
- bump sha-1 to 0.4 (#110)
- rename
use_std
tostd
(#107) - Add tests for compact/readable representations (#105)
- Remove use of serde_test (#104)
- Add impl fmt::{UpperHex,LowerHex} for {Uuid,Hyphenated,Simple} (#103)