# 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 = "2018" rust-version = "1.34.0" name = "atomic-time" version = "0.1.5" description = "`AtomicDuration`, `AtomicOptionDuration`, `AtomicSystemTime`, `AtomicOptionSystemTime`, `AtomicInstant` and `AtomicOptionInstant` for Rust." homepage = "https://github.com/al8n/atomic-time" documentation = "https://docs.rs/atomic-time" readme = "README.md" keywords = [ "atomic", "no_std", "atomic-duration", "atomic-instant", "atomic-systemtime", ] categories = [ "development-tools", "concurrency", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/al8n/atomic-time" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.bench] opt-level = 3 lto = "thin" codegen-units = 1 debug = 0 debug-assertions = false rpath = false overflow-checks = false incremental = false [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.once_cell] version = "1" optional = true [dependencies.portable-atomic] version = "1" [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.arc-swap] version = "1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.parking_lot] version = "0.12" [dev-dependencies.serde_json] version = "1" [features] default = ["std"] std = [ "portable-atomic/std", "once_cell", ]