NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4279 most downloaded on crates.io
A Unique Hybrid Logical Clock for Rust.
Latest stable
0.9.0
Last release 10 months ago
12 Jan 2026
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 18 of 19 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
19 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
feat: no-alloc by @Hennzau in https://github.com/atolab/uhlc-rs/pull/28 :warning: API changes regarding errors:
no-alloc by @Hennzau in https://github.com/atolab/uhlc-rs/pull/28
:warning: API changes regarding errors:
ParseIDError changed to enumParseNTP64Error changed to enumParseTimestampError changed to enumupdate_with_timestamp returns Result<(), ExceedingDeltaError>Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.8.2...0.9.0
Perf improvement: simplify ID Display impl by @wyfo in https://github.com/atolab/uhlc-rs/pull/29
Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.8.1...0.8.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
feat: add support for linux physical clocks by @alokpr in https://github.com/atolab/uhlc-rs/pull/20
Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.8.0...0.8.1
Change conversion of NTP64 and Timestamp to/from String (#16). For both NTP64 and Timestamp types the default formatting used by Display trait (and th
NTP64 and Timestamp types the default formatting used by Display trait (and thus by ToString trait) changed. RFC3339 format was used to represent the NTP64 type, which was loosing precision and was not bijective with FromStr trait (see #15). Now unsigned integer decimal representation is used.
The to_string_rfc3339_lossy() and parse_rfc3339() methods have been added for explicit conversion to RFC3339 format.Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.7.0...0.8.0
Change internal representation of ID from NonZeroU128 to [u8;16]. A change in Rust 1.77 caused the memory alignment for u128 to differ depending the p
ID from NonZeroU128 to [u8;16].
A change in Rust 1.77 caused the memory alignment for u128 to differ depending the platform, and thus leading to issues for usage through FFI (see https://github.com/eclipse-zenoh/zenoh-c/pull/295). Note that this is not a change of API (just ABI)Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.6.3...0.7.0
Documentation change only: revise comment of NTP64::as_secs_f64()
NTP64::as_secs_f64()Full Changelog: 0.6.2...0.6.3
Add NTP64::as_secs_f64() by @JEnoch in #13
NTP64::as_secs_f64() by @JEnoch in https://github.com/atolab/uhlc-rs/pull/13Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.6.1...0.6.2
Bump spin to 0.9.8 @Dylan-DPC in #10
Full Changelog: 0.6.0...0.6.1
Full Changelog: https://github.com/atolab/uhlc-rs/compare/0.6.0...0.6.1
API change : Remove UUID support ( #9 ). uhlc::ID is still a non-zero u128, but not necessarily a UUID. As a consequence:
uhlc::ID is still a non-zero u128, but not necessarily a UUID. As a consequence:
uhlc::ID::from(uuid: Uuid) operation has been removed.let id = ID::try_from([uuid.to_bytes_le()](uuid::Uuid::new_v4())).unwrap()uhlc::ID::as_slice(&self) operation has been removed.let id_as_slice = id.to_le_bytes()[..id.size()]uhlc::ID::to_le_bytes(&self) operation has been addeduhlc::ID::rand() -> Self operation has been addedNew defmt feature for logging in no_std ( #6 , #7 )
Add HLC::get_id(&self) -> &ID and HLC::get_delta(&self) -> &NTP64 accessors
HLC::get_id(&self) -> &ID and HLC::get_delta(&self) -> &NTP64 accessors (#4)API change: uhlc::ID::new(size: usize, id: [u8; ID::MAX_SIZE]) is replaced with TryFrom<&[u8; $N]> implementations with $N going from 1 to 16. The siz
uhlc::ID::new(size: usize, id: [u8; ID::MAX_SIZE]) is replaced with TryFrom<&[u8; $N]> implementations with $N going from 1 to 16. The size of the ID will corresponds to the slice length.Add Hash trait to Timestamp and NTP64
Hash trait to Timestamp and NTP64API change: add a new HLCBuilder struct to configure the HLC; This replaces the former HLC:: with_clock() and HLC:: with_system_time() operations.
HLCBuilder struct to configure the HLC; This replaces the former HLC:: with_clock() and HLC:: with_system_time() operations.Add Timestamp::get_diff_duration(&self, other: &Timestamp) -> Duration
Timestamp::get_diff_duration(&self, other: &Timestamp) -> DurationSub and SubAssign traits implementations for NTP64Serialize and Deserialize traits for Timestamp, ID and NTP64Copy trait to Timestamp and IDUHLC_MAX_DELTA_MS (delta is still 100ms by default)Remove usage of async-std. Now the API is sync.
async-std. Now the API is sync.Add implementation of FromStr trait for NTP64, ID and Timestamp types. This allows easy serialization/deserialisation of a Timestamp into/from a strin
NTP64, ID and Timestamp types. This allows easy serialization/deserialisation of a Timestamp into/from a string via the Display and FromStr traits.Changed HLC identifier type from a Vecu8> to a fixed-size ID struct
Vecu8> to a fixed-size ID structNothing published for this version
One column per quarter.