Debian Codegraph @

debian/missing-sources/chrono/Cargo.toml

raw symbols SCIP
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.62.0"
15 name = "chrono"
16 version = "0.4.43"
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 "now",
64 ]
65 core-error = []
66 default = [
67 "clock",
68 "std",
69 "oldtime",
70 "wasmbind",
71 ]
72 defmt = [
73 "dep:defmt",
74 "pure-rust-locales?/defmt",
75 ]
76 libc = []
77 now = ["std"]
78 oldtime = []
79 rkyv = [
80 "dep:rkyv",
81 "rkyv/size_32",
82 ]
83 rkyv-16 = [
84 "dep:rkyv",
85 "rkyv?/size_16",
86 ]
87 rkyv-32 = [
88 "dep:rkyv",
89 "rkyv?/size_32",
90 ]
91 rkyv-64 = [
92 "dep:rkyv",
93 "rkyv?/size_64",
94 ]
95 rkyv-validation = ["rkyv?/validation"]
96 std = ["alloc"]
97 unstable-locales = ["pure-rust-locales"]
98 wasmbind = [
99 "wasm-bindgen",
100 "js-sys",
101 ]
102 winapi = ["windows-link"]
103
104 [lib]
105 name = "chrono"
106 path = "src/lib.rs"
107
108 [[test]]
109 name = "dateutils"
110 path = "tests/dateutils.rs"
111
112 [[test]]
113 name = "wasm"
114 path = "tests/wasm.rs"
115
116 [[test]]
117 name = "win_bindings"
118 path = "tests/win_bindings.rs"
119
120 [dependencies.arbitrary]
121 version = "1.0.0"
122 features = ["derive"]
123 optional = true
124
125 [dependencies.defmt]
126 version = "1.0.1"
127 optional = true
128
129 [dependencies.num-traits]
130 version = "0.2"
131 default-features = false
132
133 [dependencies.pure-rust-locales]
134 version = "0.8.2"
135 optional = true
136
137 [dependencies.rkyv]
138 version = "0.7.43"
139 optional = true
140 default-features = false
141
142 [dependencies.serde]
143 version = "1.0.99"
144 optional = true
145 default-features = false
146
147 [dev-dependencies.bincode]
148 version = "1.3.0"
149
150 [dev-dependencies.serde_derive]
151 version = "1"
152 default-features = false
153
154 [dev-dependencies.serde_json]
155 version = "1"
156
157 [dev-dependencies.similar-asserts]
158 version = "1.6.1"
159
160 [dev-dependencies.windows-bindgen]
161 version = "0.66"
162
163 [target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.js-sys]
164 version = "0.3"
165 optional = true
166
167 [target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.wasm-bindgen]
168 version = "0.2"
169 optional = true
170
171 [target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies.wasm-bindgen-test]
172 version = "0.3"
173
174 [target."cfg(unix)".dependencies.iana-time-zone]
175 version = "0.1.45"
176 features = ["fallback"]
177 optional = true
178
179 [target."cfg(windows)".dependencies.windows-link]
180 version = "0.2"
181 optional = true