Releases: oxidecomputer/newtype-uuid
Releases · oxidecomputer/newtype-uuid
newtype-uuid 1.1.3
Added
- Add a
Default
implementation forTypedUuid
. This implementation resolves
toTypedUuid::nil()
.
newtype-uuid 1.1.2
Added
More const constructors for typed UUIDs, mirrored from the uuid
crate: from_fields
,
from_fields_le
, from_u128
, from_u128_le
, from_u64_pair
, from_bytes
, and from_bytes_le
.
Fixed
Correct doc for as_untyped_uuid
. Thanks @Dr-Emann for your first contribution!
newtype-uuid 1.1.0
Added
TypedUuid::nil()
andmax()
constructors.TypedUuid
is now#[repr(transparent)]
.
Changed
- MSRV updated to Rust 1.61.
newtype-uuid 1.0.1
Breaking changes
GenericUuid::to_generic_uuid
has been renamed toGenericUuid::into_generic_uuid
.
Changed
- Added
#[must_use]
annotations to constructors.
newtype-uuid 0.3.0
Breaking changes
TypedUuidTag::try_new
returns a newTagError
type rather than just a raw&'static str
.
Changed
TypedUuidTag::as_str
is now aconst fn
.
newtype-uuid 0.2.1
Documentation improvements.
newtype-uuid 0.2.0
Breaking changes
TypedUuidTag
s are now required to be valid ASCII identifiers, with hyphens also supported.
Misc
- Added
#[forbid(unsafe_code)]
. Thanks Robert Lynch for the contribution!
newtype-uuid 0.1.0
Initial release.