#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

#94 in Concurrency

Download history 2575/week @ 2024-09-23 953/week @ 2024-09-30 2094/week @ 2024-10-07 2175/week @ 2024-10-14 2222/week @ 2024-10-21 2667/week @ 2024-10-28 2200/week @ 2024-11-04 2324/week @ 2024-11-11 2488/week @ 2024-11-18 2495/week @ 2024-11-25 2117/week @ 2024-12-02 1852/week @ 2024-12-09 2772/week @ 2024-12-16 2285/week @ 2024-12-23 1833/week @ 2024-12-30 2797/week @ 2025-01-06

9,777 downloads per month
Used in 18 crates (5 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