test = []
[[bench]]
harness = false
name = "benchmarks"
path = "../benchmarks/main.rs"
[dependencies.itoa]
optional = true
version = "1.0.1"
[dependencies.quickcheck]
default-features = false
optional = true
version = "1.0.3"
[dependencies.rand]
default-features = false
optional = true
version = "0.8.4"
[dependencies.serde]
default-features = false
optional = true
version = "1.0.126"
[dependencies.time-core]
version = "=0.1.1"
[dependencies.time-macros]
optional = true
version = "=0.2.10"
[dev-dependencies.quickcheck_macros]
version = "1.0.0"
[dev-dependencies.rand]
default-features = false
version = "0.8.4"
[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.126"
[dev-dependencies.serde_json]
version = "1.0.68"
[dev-dependencies.serde_test]
version = "1.0.126"
[dev-dependencies.time-macros]
version = "=0.2.10"
[features]
alloc = ["serde?/alloc"]
default = ["std"]
formatting = ["dep:itoa", "std", "time-macros?/formatting"]
large-dates = ["time-macros?/large-dates"]
local-offset = ["std", "dep:libc", "dep:num_threads"]
macros = ["dep:time-macros"]
parsing = ["time-macros?/parsing"]
quickcheck = ["dep:quickcheck", "alloc"]
rand = ["dep:rand"]
serde = ["dep:serde", "time-macros?/serde"]
serde-human-readable = ["serde", "formatting", "parsing"]
serde-well-known = ["serde", "formatting", "parsing"]
std = ["alloc"]
wasm-bindgen = ["dep:js-sys"]
[lib]
bench = false
[package]
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
categories = ["date-and-time", "no-std", "parser-implementations", "value-formatting"]
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."
edition = "2021"
homepage = "https://time-rs.github.io"
include = ["src/**/*", "LICENSE-*", "README.md"]
keywords = ["date", "time", "calendar", "duration"]
license = "MIT OR Apache-2.0"
name = "time"
readme = "README.md"
repository = "https://github.com/time-rs/time"
rust-version = "1.65.0"
version = "0.3.23"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "__time_03_docs"]
targets = ["x86_64-unknown-linux-gnu"]
[target."cfg(__ui_tests)".dev-dependencies.trybuild]
version = "1.0.68"
[target."cfg(all(target_family = \"wasm\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
optional = true
version = "0.3.58"
[target."cfg(bench)".dev-dependencies.criterion]
default-features = false
version = "0.4.0"
[target."cfg(target_family = \"unix\")".dependencies.libc]
optional = true
version = "0.2.98"
[target."cfg(target_family = \"unix\")".dependencies.num_threads]
optional = true
version = "0.1.2"