# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.64" name = "tai-time" version = "0.3.3" authors = ["Serge Barral "] description = """ Nanosecond-precision monotonic clock timestamps based on the TAI time standard. """ readme = "README.md" keywords = [ "date", "time", "monotonic", "tai", "gps", ] categories = [ "date-and-time", "no-std", "science", "embedded", ] license = "MIT OR Apache-2.0" repository = "https://github.com/asynchronics/tai-time" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.chrono] version = "0.4.31" optional = true default-features = false [dependencies.defmt] version = "0.3" optional = true [dependencies.nix] version = "0.26" features = ["time"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dev-dependencies.serde_json] version = "1" [features] chrono = ["dep:chrono"] default = ["std"] defmt = ["dep:defmt"] serde = ["dep:serde"] std = [] tai_clock = ["dep:nix"]