An open API service indexing awesome lists of open source software.

https://github.com/al8n/atomic-time

AtomicDuration, AtomicOptionDuration, AtomicSystemTime, AtomicOptionSystemTime, AtomicInstant and AtomicOptionInstant for Rust.
https://github.com/al8n/atomic-time

atomic rust

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          


Atomic Time



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

[github][Github-url]
[Build][CI-url]
[codecov][codecov-url]

[docs.rs][doc-url]
[crates.io][crates-url]
[crates.io][crates-url]

license

[English](./README.md) | 简体中文

## Installation

```toml
[dependencies]
atomic-time = "0.1"
```

## Test

- Rust test

```bash
cargo test
```

- `miri` test

```bash
cargo miri test
```

## Benchmarks

```bash
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-APACHE), [LICENSE-MIT](LICENSE-MIT) for details.

Copyright (c) 2023 Al Liu.

[Github-url]: https://github.com/al8n/atomic-time/
[CI-url]: https://github.com/al8n/atomic-time/actions/workflows/ci.yml
[doc-url]: https://docs.rs/atomic-time
[crates-url]: https://crates.io/crates/atomic-time
[codecov-url]: https://app.codecov.io/gh/al8n/atomic-time/