atomic-time 1.0.0

Thread-safe atomic time types, lock-free where supported
Documentation
# 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.85"
name = "atomic-time"
version = "1.0.0"
build = false
exclude = [
    "benchmark",
    ".DS_Store",
    "output",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thread-safe atomic time types, lock-free where supported"
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 OR Apache-2.0"
repository = "https://github.com/al8n/atomic-time"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
arbitrary = [
    "std",
    "dep:arbitrary",
]
default = ["std"]
proptest = [
    "std",
    "dep:proptest",
]
quickcheck = [
    "std",
    "dep:quickcheck",
]
serde = ["dep:serde"]
std = [
    "portable-atomic/std",
    "serde?/std",
]

[lib]
name = "atomic_time"
path = "src/lib.rs"

[dependencies.arbitrary]
version = "1"
optional = true
default-features = false

[dependencies.portable-atomic]
version = "1.15"

[dependencies.proptest]
version = "1"
features = ["std"]
optional = true
default-features = false

[dependencies.quickcheck]
version = "1"
optional = true
default-features = false

[dependencies.serde]
version = "1"
optional = true
default-features = false

[dev-dependencies.serde_json]
version = "1"

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(all_tests)"]

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
overflow-checks = false
incremental = false