chrono 0.4.39

Date and time library for Rust
Documentation
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.0.0"

[dependencies.num-traits]
default-features = false
version = "0.2"

[dependencies.pure-rust-locales]
optional = true
version = "0.8"

[dependencies.rkyv]
default-features = false
optional = true
version = "0.7.43"

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

[dev-dependencies.bincode]
version = "1.3.0"

[dev-dependencies.serde_derive]
default-features = false
version = "1"

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

[features]
__internal_bench = []
alloc = []
clock = ["winapi", "iana-time-zone", "android-tzdata", "now"]
default = ["clock", "std", "oldtime", "wasmbind"]
libc = []
now = ["std"]
oldtime = []
rkyv = ["dep:rkyv", "rkyv/size_32"]
rkyv-16 = ["dep:rkyv", "rkyv?/size_16"]
rkyv-32 = ["dep:rkyv", "rkyv?/size_32"]
rkyv-64 = ["dep:rkyv", "rkyv?/size_64"]
rkyv-validation = ["rkyv?/validation"]
std = ["alloc"]
unstable-locales = ["pure-rust-locales"]
wasmbind = ["wasm-bindgen", "js-sys"]
winapi = ["windows-targets"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["date-and-time"]
description = "Date and time library for Rust"
documentation = "https://docs.rs/chrono/"
edition = "2021"
homepage = "https://github.com/chronotope/chrono"
include = ["src/*", "tests/*.rs", "LICENSE.txt", "CITATION.cff"]
keywords = ["date", "time", "calendar"]
license = "MIT OR Apache-2.0"
name = "chrono"
readme = "README.md"
repository = "https://github.com/chronotope/chrono"
rust-version = "1.61.0"
version = "0.4.39"

[package.metadata.docs.rs]
features = ["arbitrary", "rkyv", "serde", "unstable-locales"]
rustdoc-args = ["--cfg", "docsrs"]

[package.metadata.playground]
features = ["serde"]

[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.js-sys]
optional = true
version = "0.3"

[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.wasm-bindgen]
optional = true
version = "0.2"

[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(target_os = "android")'.dependencies.android-tzdata]
optional = true
version = "0.1.1"

[target."cfg(unix)".dependencies.iana-time-zone]
features = ["fallback"]
optional = true
version = "0.1.45"

[target."cfg(windows)".dependencies.windows-targets]
optional = true
version = "0.52"

[target."cfg(windows)".dev-dependencies.windows-bindgen]
version = "0.58"

[[test]]
name = "dateutils"
path = "tests/dateutils.rs"

[[test]]
name = "wasm"
path = "tests/wasm.rs"

[[test]]
name = "win_bindings"
path = "tests/win_bindings.rs"