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.
- Host: GitHub
- URL: https://github.com/al8n/atomic-time
- Owner: al8n
- License: apache-2.0
- Created: 2023-10-27T17:52:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T17:12:20.000Z (over 2 years ago)
- Last Synced: 2024-05-01T17:32:23.455Z (about 2 years ago)
- Topics: atomic, rust
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-zh_CN.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
Atomic Time
`AtomicDuration`, `AtomicOptionDuration`, `AtomicSystemTime`, `AtomicOptionSystemTime`, `AtomicInstant` and `AtomicOptionInstant` for Rust.
[
][Github-url]
[
][CI-url]
[
][codecov-url]
[
][doc-url]
[
][crates-url]
[
][crates-url]

[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/