attotime 0.4.0

High-fidelity time library for applications where sub-nanosecond accuracy and exact arithmetic are needed
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 = "2024"
name = "attotime"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-fidelity time library for applications where sub-nanosecond accuracy and exact arithmetic are needed"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Quinten-van-Woerkom/attotime"

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "std",
]
std = []

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

[dependencies.derive_more]
version = "2.0.1"
features = ["full"]

[dependencies.lexical-core]
version = "1.0.6"

[dependencies.num-integer]
version = "0.1.46"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.serde]
version = "1.0.228"
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.rand_chacha]
version = "0.9.0"

[target."cfg(kani)".dependencies.paste]
version = "1.0.15"

[lints.clippy]
nursery = "warn"
pedantic = "warn"

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

[profile.dev]
opt-level = 3