You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API change: Remove UUID support (#9). uhlc::ID is still a non-zero u128, but not necessarily a UUID. As a consequence:
The uhlc::ID::from(uuid: Uuid) operation has been removed.
An ID can still be created from an Uuid as such: let id = ID::try_from([uuid.to_bytes_le()](uuid::Uuid::new_v4())).unwrap()
The uhlc::ID::as_slice(&self) operation has been removed.
A minimal slice (i.e.: only non-zero bytes) of the le-encoded ID can be retrieved as such: let id_as_slice = id.to_le_bytes()[..id.size()]
The uhlc::ID::to_le_bytes(&self) operation has been added
The uhlc::ID::rand() -> Self operation has been added