1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.61.0" 15name = "chrono" 16version = "0.4.34" 17exclude = ["/ci/*"] 18description = "Date and time library for Rust" 19homepage = "https://github.com/chronotope/chrono" 20documentation = "https://docs.rs/chrono/" 21readme = "README.md" 22keywords = [ 23 "date", 24 "time", 25 "calendar", 26] 27categories = ["date-and-time"] 28license = "MIT OR Apache-2.0" 29repository = "https://github.com/chronotope/chrono" 30 31[package.metadata.docs.rs] 32features = [ 33 "arbitrary", 34 "rkyv", 35 "serde", 36 "unstable-locales", 37] 38rustdoc-args = [ 39 "--cfg", 40 "docsrs", 41] 42 43[package.metadata.playground] 44features = ["serde"] 45 46[lib] 47name = "chrono" 48 49[dependencies.arbitrary] 50version = "1.0.0" 51features = ["derive"] 52optional = true 53 54[dependencies.num-traits] 55version = "0.2" 56default-features = false 57 58[dependencies.pure-rust-locales] 59version = "0.8" 60optional = true 61 62[dependencies.rkyv] 63version = "0.7.43" 64optional = true 65default-features = false 66 67[dependencies.rustc-serialize] 68version = "0.3.20" 69optional = true 70 71[dependencies.serde] 72version = "1.0.99" 73optional = true 74default-features = false 75 76[dev-dependencies.bincode] 77version = "1.3.0" 78 79[dev-dependencies.serde_derive] 80version = "1" 81default-features = false 82 83[dev-dependencies.serde_json] 84version = "1" 85 86[features] 87__internal_bench = [] 88alloc = [] 89clock = [ 90 "winapi", 91 "iana-time-zone", 92 "android-tzdata", 93 "now", 94] 95default = [ 96 "clock", 97 "std", 98 "oldtime", 99 "wasmbind", 100] 101libc = [] 102now = ["std"] 103oldtime = [] 104rkyv = [ 105 "dep:rkyv", 106 "rkyv/size_32", 107] 108rkyv-16 = [ 109 "dep:rkyv", 110 "rkyv?/size_16", 111] 112rkyv-32 = [ 113 "dep:rkyv", 114 "rkyv?/size_32", 115] 116rkyv-64 = [ 117 "dep:rkyv", 118 "rkyv?/size_64", 119] 120rkyv-validation = ["rkyv?/validation"] 121std = ["alloc"] 122unstable-locales = ["pure-rust-locales"] 123wasmbind = [ 124 "wasm-bindgen", 125 "js-sys", 126] 127winapi = ["windows-targets"] 128 129[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys] 130version = "0.3" 131optional = true 132 133[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen] 134version = "0.2" 135optional = true 136 137[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test] 138version = "0.3" 139 140[target."cfg(target_os = \"android\")".dependencies.android-tzdata] 141version = "0.1.1" 142optional = true 143 144[target."cfg(unix)".dependencies.iana-time-zone] 145version = "0.1.45" 146features = ["fallback"] 147optional = true 148 149[target."cfg(windows)".dependencies.windows-targets] 150version = "0.52" 151optional = true 152 153[target."cfg(windows)".dev-dependencies.windows-bindgen] 154version = "0.52" 155