forked from asynchronics/tai-time
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (34 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "tai-time"
# When incrementing version and releasing to crates.io:
# - Update crate version in README.md
# - Update CHANGELOG.md
# - Update if necessary copyright notice in LICENSE-MIT
# - Create a "vX.Y.Z" git tag
version = "0.3.1"
authors = ["Serge Barral <[email protected]>"]
edition = "2021"
rust-version = "1.64"
license = "MIT OR Apache-2.0"
repository = "https://github.com/asynchronics/tai-time"
readme = "README.md"
description = """
Nanosecond-precision monotonic clock timestamps based on the TAI time standard.
"""
categories = ["date-and-time", "no-std", "science", "embedded"]
keywords = ["date", "time", "monotonic", "tai", "gps"]
[dependencies]
chrono = { version = "0.4.31", default-features = false, optional = true }
serde = { version = "1", default-features = false, features = ["derive"], optional = true }
nix = { version = "0.26", default-features = false, features = ["time"], optional = true }
[features]
default = ["std"]
std = []
# Note that the MSRV cannot be guaranteed when the following features are
# activated since cargo resolver v2 ignores MSRV.
chrono = ["dep:chrono"]
serde = ["dep:serde"]
tai_clock = ["dep:nix"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]