Debian Codegraph @

third_party/rust/chrono/Cargo.toml

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