Debian Codegraph @

debian/missing-sources/time/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 = "2024"
14 rust-version = "1.88.0"
15 name = "time"
16 version = "0.3.47"
17 authors = [
18 "Jacob Pratt <[email protected]>",
19 "Time contributors",
20 ]
21 build = false
22 include = [
23 "{src,tests,benchmarks}/**/*",
24 "LICENSE-*",
25 "README.md",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."
33 homepage = "https://time-rs.github.io"
34 readme = "README.md"
35 keywords = [
36 "date",
37 "time",
38 "calendar",
39 "duration",
40 ]
41 categories = [
42 "date-and-time",
43 "no-std",
44 "parser-implementations",
45 "value-formatting",
46 ]
47 license = "MIT OR Apache-2.0"
48 repository = "https://github.com/time-rs/time"
49
50 [package.metadata.docs.rs]
51 all-features = true
52 targets = ["x86_64-unknown-linux-gnu"]
53 rustdoc-args = ["--generate-link-to-definition"]
54
55 [features]
56 alloc = ["serde_core?/alloc"]
57 default = ["std"]
58 formatting = [
59 "dep:itoa",
60 "std",
61 "time-macros?/formatting",
62 ]
63 large-dates = [
64 "time-core/large-dates",
65 "time-macros?/large-dates",
66 ]
67 local-offset = [
68 "std",
69 "dep:libc",
70 "dep:num_threads",
71 ]
72 macros = ["dep:time-macros"]
73 parsing = ["time-macros?/parsing"]
74 quickcheck = [
75 "dep:quickcheck",
76 "alloc",
77 "deranged/quickcheck",
78 ]
79 rand = [
80 "rand08",
81 "rand09",
82 ]
83 rand08 = [
84 "dep:rand08",
85 "deranged/rand08",
86 ]
87 rand09 = [
88 "dep:rand09",
89 "deranged/rand09",
90 ]
91 serde = [
92 "dep:serde_core",
93 "time-macros?/serde",
94 "deranged/serde",
95 ]
96 serde-human-readable = [
97 "serde",
98 "formatting",
99 "parsing",
100 ]
101 serde-well-known = [
102 "serde",
103 "formatting",
104 "parsing",
105 ]
106 std = ["alloc"]
107 wasm-bindgen = ["dep:js-sys"]
108
109 [lib]
110 name = "time"
111 path = "src/lib.rs"
112 bench = false
113
114 [[test]]
115 name = "tests"
116 path = "tests/integration/main.rs"
117
118 [[bench]]
119 name = "benchmarks"
120 path = "benchmarks/main.rs"
121 harness = false
122
123 [dependencies.deranged]
124 version = "0.5.2"
125 features = ["powerfmt"]
126
127 [dependencies.itoa]
128 version = "1.0.1"
129 optional = true
130
131 [dependencies.num-conv]
132 version = "0.2.0"
133
134 [dependencies.powerfmt]
135 version = "0.2.0"
136 default-features = false
137
138 [dependencies.quickcheck]
139 version = "1.0.3"
140 optional = true
141 default-features = false
142
143 [dependencies.rand08]
144 version = "0.8.4"
145 optional = true
146 default-features = false
147 package = "rand"
148
149 [dependencies.rand09]
150 version = "0.9.2"
151 optional = true
152 default-features = false
153 package = "rand"
154
155 [dependencies.serde_core]
156 version = "1.0.220"
157 optional = true
158 default-features = false
159
160 [dependencies.time-core]
161 version = "=0.1.8"
162
163 [dependencies.time-macros]
164 version = "=0.2.27"
165 optional = true
166
167 [dev-dependencies.num-conv]
168 version = "0.2.0"
169
170 [dev-dependencies.quickcheck_macros]
171 version = "1.0.0"
172
173 [dev-dependencies.rand08]
174 version = "0.8.4"
175 default-features = false
176 package = "rand"
177
178 [dev-dependencies.rand09]
179 version = "0.9.2"
180 features = ["small_rng"]
181 default-features = false
182 package = "rand"
183
184 [dev-dependencies.rstest]
185 version = "0.26.1"
186 default-features = false
187
188 [dev-dependencies.rstest_reuse]
189 version = "0.7.0"
190
191 [dev-dependencies.serde]
192 version = "1.0.184"
193 features = ["derive"]
194 default-features = false
195
196 [dev-dependencies.serde_json]
197 version = "1.0.68"
198
199 [dev-dependencies.serde_test]
200 version = "1.0.126"
201
202 [dev-dependencies.time-macros]
203 version = "=0.2.27"
204
205 [target."cfg(__ui_tests)".dev-dependencies.trybuild]
206 version = "1.0.102"
207
208 [target.'cfg(all(target_family = "wasm", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.js-sys]
209 version = "0.3.58"
210 optional = true
211
212 [target."cfg(bench)".dev-dependencies.criterion]
213 version = "0.8.1"
214 default-features = false
215
216 [target.'cfg(target_family = "unix")'.dependencies.libc]
217 version = "0.2.98"
218 optional = true
219
220 [target.'cfg(target_family = "unix")'.dependencies.num_threads]
221 version = "0.1.2"
222 optional = true
223
224 [lints.clippy]
225 alloc-instead-of-core = "deny"
226 as-underscore = "warn"
227 dbg-macro = "warn"
228 decimal-literal-representation = "warn"
229 explicit-auto-deref = "warn"
230 get-unwrap = "warn"
231 manual-let-else = "warn"
232 missing-docs-in-private-items = "warn"
233 missing-enforced-import-renames = "warn"
234 obfuscated-if-else = "warn"
235 print-stdout = "warn"
236 semicolon-outside-block = "warn"
237 std-instead-of-core = "deny"
238 todo = "warn"
239 undocumented-unsafe-blocks = "deny"
240 unimplemented = "warn"
241 uninlined-format-args = "warn"
242 unnested-or-patterns = "warn"
243 unwrap-in-result = "warn"
244 unwrap-used = "warn"
245 use-debug = "warn"
246
247 [lints.clippy.all]
248 level = "warn"
249 priority = -1
250
251 [lints.clippy.incompatible-msrv]
252 level = "allow"
253 priority = 1
254
255 [lints.clippy.nursery]
256 level = "warn"
257 priority = -1
258
259 [lints.clippy.option-if-let-else]
260 level = "allow"
261 priority = 1
262
263 [lints.clippy.redundant-pub-crate]
264 level = "allow"
265 priority = 1
266
267 [lints.clippy.uninhabited-references]
268 level = "allow"
269 priority = 1
270
271 [lints.rust]
272 ambiguous-glob-reexports = "deny"
273 clashing-extern-declarations = "deny"
274 const-item-mutation = "deny"
275 dangling-pointers-from-temporaries = "deny"
276 deref-nullptr = "deny"
277 drop-bounds = "deny"
278 future-incompatible = "deny"
279 hidden-glob-reexports = "deny"
280 improper-ctypes = "deny"
281 improper-ctypes-definitions = "deny"
282 invalid-from-utf8 = "deny"
283 invalid-macro-export-arguments = "deny"
284 invalid-nan-comparisons = "deny"
285 invalid-reference-casting = "deny"
286 invalid-value = "deny"
287 keyword-idents = "warn"
288 let-underscore = "warn"
289 macro-use-extern-crate = "warn"
290 meta-variable-misuse = "warn"
291 missing-abi = "warn"
292 missing-copy-implementations = "warn"
293 missing-debug-implementations = "warn"
294 missing-docs = "warn"
295 named-arguments-used-positionally = "deny"
296 non-ascii-idents = "deny"
297 noop-method-call = "warn"
298 opaque-hidden-inferred-bound = "deny"
299 overlapping-range-endpoints = "deny"
300 single-use-lifetimes = "warn"
301 suspicious-double-ref-op = "deny"
302 trivial-casts = "warn"
303 trivial-numeric-casts = "warn"
304 unconditional-recursion = "deny"
305 unnameable-test-items = "deny"
306 unreachable-pub = "warn"
307 unsafe-op-in-unsafe-fn = "deny"
308 unstable-syntax-pre-expansion = "deny"
309 unused-import-braces = "warn"
310 unused-lifetimes = "warn"
311 unused-qualifications = "warn"
312 variant-size-differences = "warn"
313
314 [lints.rust.unexpected_cfgs]
315 level = "deny"
316 priority = 0
317 check-cfg = [
318 "cfg(__ui_tests)",
319 "cfg(bench)",
320 ]
321
322 [lints.rust.unstable-name-collisions]
323 level = "allow"
324 priority = 1
325
326 [lints.rust.unused]
327 level = "warn"
328 priority = -1
329
330 [lints.rustdoc]
331 private-doc-tests = "warn"
332 unescaped-backticks = "warn"