atomic-time

Crates.ioatomic-time
lib.rsatomic-time
version0.1.5
sourcesrc
created_at2023-12-22 11:16:20.218642
updated_at2024-05-26 18:38:34.428869
description`AtomicDuration`, `AtomicOptionDuration`, `AtomicSystemTime`, `AtomicOptionSystemTime`, `AtomicInstant` and `AtomicOptionInstant` for Rust.
homepagehttps://github.com/al8n/atomic-time
repositoryhttps://github.com/al8n/atomic-time
max_upload_size
id1078292
size128,200
Al Liu (al8n)

documentation

https://docs.rs/atomic-time

README

Atomic Time

AtomicDuration, AtomicOptionDuration, AtomicSystemTime, AtomicOptionSystemTime, AtomicInstant and AtomicOptionInstant for Rust.

github LoC Build codecov

docs.rs crates.io crates.io license

English | 简体中文

Installation

[dependencies]
atomic-time = "0.1"

Test

  • Rust test

    cargo test
    
  • miri test

    cargo miri test
    

Benchmarks

cargo bench

License

atomic-time is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2023 Al Liu.

Commit count: 8

cargo fmt