All notable changes to this project will be documented in this file. This project uses Semantic Versioning.
0.7.0 - 2024-05-17
- Added support for the
uuid
crate'sbytemuck
feature. - Added support for Borsh serialization via the
uuid
crate'sborsh
feature.
- Use the
uuid
crate's fast RNG by default.
- Added
ShortGuid::from_bytes_le
as a counterpart toto_bytes_le
.
- Added a
FromStr
implementation, allowing forparse::<ShortGuid>("...")
. - Added
from_slice
to construct from a&[u8]
. - Added support for Serde.
- Added more
PartialEq
implementations forString
and&&str
comparisons. - Added
Copy
,Ord
andPartialOrd
implementations forShortGuid
.
- Added
new_random
when using therandom
crate feature. - Added
new_from_uuid
to create aShortGuid
from an existing UUID.
- Added
PartialEq<T>
forVec<u8>
and&[u8; 16]
.
to_bytes_le
,from_bytes_ref
,as_uuid
andis_empty
are nowconst
.
- Added fuzzing targets.
- 🎉 Initial release.