web-time

Drop-in replacement for std::time for Wasm in browsers

APACHE-2.0 License

Downloads
7.9M
Stars
48
web-time - Serde support for `SystemTime` Latest Release

Published by daxpedda 8 months ago

Added

  • Add Serde de/serialization support for SystemTime through a serde
    crate feature.
web-time - V1 Release

Published by daxpedda 10 months ago

Added

  • V1 release.

Added

  • Added web module containing a platform-specific extension trait to
    SystemTime, allowing conversion from and to std::time::SystemTime.

Changed

  • Improve performance of SystemTime by using Duration internally.
web-time - Increase `Instant::now()` accuracy

Published by daxpedda about 1 year ago

Changed

  • Improve accuracy of Instant::now().
web-time - Fix `DOMHighResTimeStamp` to `Duration` conversion

Published by daxpedda about 1 year ago

Fixed

  • Time conversion for Instant.
web-time - [YANKED] Remove `once_cell` dependency

Published by daxpedda about 1 year ago

Changed

  • Bump MSRV to v1.60.

Removed

  • Unnecessary once_cell dependency.
web-time - Re-export `TryFromFloatSecsError`

Published by daxpedda over 1 year ago

Added

web-time - Initial Release

Published by daxpedda over 1 year ago

Added

  • Initial commit.