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.39" 17build = false 18include = [ 19 "src/*", 20 "tests/*.rs", 21 "LICENSE.txt", 22 "CITATION.cff", 23] 24autolib = false 25autobins = false 26autoexamples = false 27autotests = false 28autobenches = false 29description = "Date and time library for Rust" 30homepage = "https://github.com/chronotope/chrono" 31documentation = "https://docs.rs/chrono/" 32readme = "README.md" 33keywords = [ 34 "date", 35 "time", 36 "calendar", 37] 38categories = ["date-and-time"] 39license = "MIT OR Apache-2.0" 40repository = "https://github.com/chronotope/chrono" 41 42[package.metadata.docs.rs] 43features = [ 44 "arbitrary", 45 "rkyv", 46 "serde", 47 "unstable-locales", 48] 49rustdoc-args = [ 50 "--cfg", 51 "docsrs", 52] 53 54[package.metadata.playground] 55features = ["serde"] 56 57[lib] 58name = "chrono" 59path = "src/lib.rs" 60 61[[test]] 62name = "dateutils" 63path = "tests/dateutils.rs" 64 65[[test]] 66name = "wasm" 67path = "tests/wasm.rs" 68 69[[test]] 70name = "win_bindings" 71path = "tests/win_bindings.rs" 72 73[dependencies.arbitrary] 74version = "1.0.0" 75features = ["derive"] 76optional = true 77 78[dependencies.num-traits] 79version = "0.2" 80default-features = false 81 82[dependencies.pure-rust-locales] 83version = "0.8" 84optional = true 85 86[dependencies.rkyv] 87version = "0.7.43" 88optional = true 89default-features = false 90 91[dependencies.serde] 92version = "1.0.99" 93optional = true 94default-features = false 95 96[dev-dependencies.bincode] 97version = "1.3.0" 98 99[dev-dependencies.serde_derive] 100version = "1" 101default-features = false 102 103[dev-dependencies.serde_json] 104version = "1" 105 106[features] 107__internal_bench = [] 108alloc = [] 109clock = [ 110 "winapi", 111 "iana-time-zone", 112 "android-tzdata", 113 "now", 114] 115default = [ 116 "clock", 117 "std", 118 "oldtime", 119 "wasmbind", 120] 121libc = [] 122now = ["std"] 123oldtime = [] 124rkyv = [ 125 "dep:rkyv", 126 "rkyv/size_32", 127] 128rkyv-16 = [ 129 "dep:rkyv", 130 "rkyv?/size_16", 131] 132rkyv-32 = [ 133 "dep:rkyv", 134 "rkyv?/size_32", 135] 136rkyv-64 = [ 137 "dep:rkyv", 138 "rkyv?/size_64", 139] 140rkyv-validation = ["rkyv?/validation"] 141std = ["alloc"] 142unstable-locales = ["pure-rust-locales"] 143wasmbind = [ 144 "wasm-bindgen", 145 "js-sys", 146] 147winapi = ["windows-targets"] 148 149[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.js-sys] 150version = "0.3" 151optional = true 152 153[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.wasm-bindgen] 154version = "0.2" 155optional = true 156 157[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies.wasm-bindgen-test] 158version = "0.3" 159 160[target.'cfg(target_os = "android")'.dependencies.android-tzdata] 161version = "0.1.1" 162optional = true 163 164[target."cfg(unix)".dependencies.iana-time-zone] 165version = "0.1.45" 166features = ["fallback"] 167optional = true 168 169[target."cfg(windows)".dependencies.windows-targets] 170version = "0.52" 171optional = true 172 173[target."cfg(windows)".dev-dependencies.windows-bindgen] 174version = "0.58" 175