Source code

Revision control

Copy as Markdown

Other Tools

# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
name = "chrono"
version = "0.4.19"
authors = ["Kang Seonghoon <public+rust@mearie.org>", "Brandon W Maister <quodlibetor@gmail.com>"]
exclude = ["/ci/*", "/.travis.yml", "/appveyor.yml", "/Makefile"]
description = "Date and time library for Rust"
documentation = "https://docs.rs/chrono/"
readme = "README.md"
keywords = ["date", "time", "calendar"]
categories = ["date-and-time"]
license = "MIT/Apache-2.0"
[package.metadata.docs.rs]
features = ["serde"]
[package.metadata.playground]
features = ["serde"]
[lib]
name = "chrono"
[[bench]]
name = "chrono"
harness = false
required-features = ["__internal_bench"]
[[bench]]
name = "serde"
harness = false
required-features = ["serde"]
[dependencies.libc]
version = "0.2.69"
optional = true
[dependencies.num-integer]
version = "0.1.36"
default-features = false
[dependencies.num-traits]
version = "0.2"
default-features = false
[dependencies.pure-rust-locales]
version = "0.5.2"
optional = true
[dependencies.rustc-serialize]
version = "0.3.20"
optional = true
[dependencies.serde]
version = "1.0.99"
optional = true
default-features = false
[dependencies.time]
version = "0.1.43"
optional = true
[dev-dependencies.bincode]
version = "0.8.0"
[dev-dependencies.criterion]
version = "0.3"
[dev-dependencies.doc-comment]
version = "0.3"
[dev-dependencies.num-iter]
version = "0.1.35"
default-features = false
[dev-dependencies.serde_derive]
version = "1"
default-features = false
[dev-dependencies.serde_json]
version = "1"
[features]
__doctest = []
__internal_bench = []
alloc = []
clock = ["libc", "std", "winapi"]
default = ["clock", "std", "oldtime"]
oldtime = ["time"]
std = []
unstable-locales = ["pure-rust-locales", "alloc"]
wasmbind = ["wasm-bindgen", "js-sys"]
[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
version = "0.3"
optional = true
[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
version = "0.2"
optional = true
[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.0"
features = ["std", "minwinbase", "minwindef", "timezoneapi"]
optional = true
[badges.appveyor]
repository = "chronotope/chrono"
[badges.travis-ci]
repository = "chronotope/chrono"