#atomic #no-std #atomic-duration #atomic-instant #atomic-systemtime

no-std atomic-time

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

3 releases

0.1.5 May 26, 2024
0.1.4 Dec 25, 2023

#95 in Concurrency

Download history 2054/week @ 2024-11-08 2733/week @ 2024-11-15 2643/week @ 2024-11-22 2096/week @ 2024-11-29 1997/week @ 2024-12-06 1695/week @ 2024-12-13 3103/week @ 2024-12-20 1805/week @ 2024-12-27 2819/week @ 2025-01-03 2592/week @ 2025-01-10 2752/week @ 2025-01-17 3826/week @ 2025-01-24 3028/week @ 2025-01-31 4885/week @ 2025-02-07 2067/week @ 2025-02-14

10,485 downloads per month
Used in 25 crates (6 directly)

MIT/Apache

92KB
1.5K SLoC

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.

Dependencies

~1MB
~23K SLoC