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

no-std atomic-time

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

2 releases

0.1.4 Dec 25, 2023
0.1.3 Dec 24, 2023
0.1.2 Dec 23, 2023
0.1.1 Dec 22, 2023
0.1.0 Dec 22, 2023

#177 in Concurrency

Download history 91/week @ 2023-12-22 30/week @ 2023-12-29 7/week @ 2024-01-05 12/week @ 2024-01-12 7/week @ 2024-01-19 126/week @ 2024-02-02 198/week @ 2024-02-09 262/week @ 2024-02-16 715/week @ 2024-02-23 568/week @ 2024-03-01 3/week @ 2024-03-08 5/week @ 2024-03-15 779/week @ 2024-03-22 286/week @ 2024-03-29 257/week @ 2024-04-05

1,327 downloads per month
Used in 11 crates (2 directly)

MIT/Apache

92KB
1.5K SLoC

Atomic Time

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

github 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
~19K SLoC