# 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"
rust-version = "1.91"
name = "fast_utc"
version = "0.3.0"
authors = ["llvm-x86 <kagari.shusei@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple & fast 64 bit UTC time types"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/capital-levite/fast_utc"

[features]
coarsetime-support = ["coarsetime"]
default = [
    "coarsetime-support",
    "serde-support",
]
serde-support = ["serde"]

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

[[bench]]
name = "timestamp_bench_chrono"
path = "benches/timestamp_bench_chrono.rs"
harness = false
required-features = []

[[bench]]
name = "timestamp_bench_coarsetime"
path = "benches/timestamp_bench_coarsetime.rs"
harness = false

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

[dependencies.coarsetime]
version = "0.1.36"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.criterion]
version = "0.7.0"

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

[profile.bench]
debug = 2
