#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

#90 in Concurrency

Download history 2476/week @ 2024-07-23 2303/week @ 2024-07-30 2554/week @ 2024-08-06 2593/week @ 2024-08-13 2319/week @ 2024-08-20 2014/week @ 2024-08-27 2223/week @ 2024-09-03 1693/week @ 2024-09-10 2281/week @ 2024-09-17 2421/week @ 2024-09-24 789/week @ 2024-10-01 2265/week @ 2024-10-08 2210/week @ 2024-10-15 2278/week @ 2024-10-22 2743/week @ 2024-10-29 1872/week @ 2024-11-05

9,454 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
~22K SLoC