All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
no_stdsupport through astdcrate feature. -
Support for the
wasm32v1-nonetarget. -
MSRV policy.
-
A
msrvcrate feature that allowsweb-timeto make use of features only available in higher MSRVs. This offers compile-time detection and does not break compilation when enabled with the crates MSRV.- Rust v1.77 +
std: Enables the use of thef64.nearestinstruction. Which will significantly reduce the instruction count forInstant::now(). - Rust Nightly: Enables the use of the
f64.truncandf64.nearestinstruction. Which will significantly reduce the instruction count forInstant::now().
- Rust v1.77 +
- Improve performance of
Instant::now()by usingf64::round_ties_even()instead off64::round()internally. - Removed
js-sysdependency in favor of custom bindings.
- As
wasm64-*is not supported,web-timenow falls back tostdinstead of unnecessarily pulling in dependencies on these targets.
1.1.0 - 2024-03-01
- Serde de/serialization support for
SystemTimethrough aserdecrate feature.
1.0.0 - 2024-01-14
- V1 release.
0.2.4 - 2023-12-24
webmodule containing a platform-specific extension trait toSystemTime, allowing conversion from and tostd::time::SystemTime.
- Improve performance of
SystemTimeby usingDurationinternally.
0.2.3 - 2023-10-23
- Improve accuracy of
Instant::now().
0.2.2 - 2023-10-08
- Time conversion for
Instant.
0.2.1 - 2023-10-07 [YANKED]
- Bump MSRV to v1.60.
- Unnecessary
once_celldependency.
0.2.0 - 2023-03-28
- Export
TryFromFloatSecsErrorwithout breaking MSRV.
0.1.0 - 2023-03-27
- Initial release.