Releases: oxidecomputer/newtype-uuid
Releases · oxidecomputer/newtype-uuid
newtype-uuid 1.3.2
Added
as_fields,to_fields_le,as_u128,to_u128_le,as_u64_pair,as_bytes,into_bytes,to_bytes_le,is_nil, andis_maxmethods to mirror corresponding methods on upstreamUuid.
newtype-uuid 1.3.1
Added
- New
v7feature allows for v7 UUIDs to be created. Thanks davidbarsky for your first contribution!
Fixed
Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.
newtype-uuid-macros 0.1.0
Initial release, with the impl_typed_uuid_kinds macro.
newtype-uuid 1.3.0
Added
- For schemars integration, automatic replacement support with
typifyandprogenitorvia the newx-rust-typeextension. - The
TypedUuidKindtrait has a new optional method calledalias, which represents a type alias.aliasis used by schemars integration in a few ways: for the schema name ofTypedUuid<T>, as well as for automatic replacement support.
Changed
- MSRV updated to Rust 1.79.
newtype-uuid 1.2.4
Added
New upcast method enables safer conversion of one typed UUID to another. To opt into an upcast from TypedUuid<T> to TypedUuid<U>, implement From<T> for U.
newtype-uuid 1.2.3
Added
New cast method enables safer conversion of one typed UUID to another. To opt into a cast from TypedUuid<T> to TypedUuid<U>, implement From<T> for U.
newtype-uuid 1.2.2
Added
Added the following implementations:
AsRef<[u8]>forTypedUuid<T>.From<TypedUuid<T>> for Vec<u8>.
newtype-uuid 1.2.1
Updated MSRV in readme.
newtype-uuid 1.2.0
Added
- New, optional feature
proptest1enables support for generating random instances of UUIDs. Currently, v4 UUIDs are always generated.
Changed
- MSRV updated to Rust 1.67.
newtype-uuid 1.1.3
Added
- Add a
Defaultimplementation forTypedUuid. This implementation resolves
toTypedUuid::nil().