#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 2876/week @ 2024-08-14 2145/week @ 2024-08-21 1922/week @ 2024-08-28 2199/week @ 2024-09-04 1558/week @ 2024-09-11 2568/week @ 2024-09-18 2045/week @ 2024-09-25 934/week @ 2024-10-02 2314/week @ 2024-10-09 2242/week @ 2024-10-16 2413/week @ 2024-10-23 2573/week @ 2024-10-30 1981/week @ 2024-11-06 2443/week @ 2024-11-13 2874/week @ 2024-11-20 1641/week @ 2024-11-27

9,280 downloads per month
Used in 15 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