Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
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-core"
16 version = "0.1.9"
17 authors = [
18 "Jacob Pratt <[email protected]>",
19 "Time contributors",
20 ]
21 build = false
22 autolib = false
23 autobins = false
24 autoexamples = false
25 autotests = false
26 autobenches = false
27 description = "This crate is an implementation detail and should not be relied upon directly."
28 readme = false
29 keywords = [
30 "date",
31 "time",
32 "calendar",
33 "duration",
34 ]
35 categories = ["date-and-time"]
36 license = "MIT OR Apache-2.0"
37 repository = "https://github.com/time-rs/time"
38
39 [package.metadata.docs.rs]
40 all-features = true
41 targets = ["x86_64-unknown-linux-gnu"]
42 rustdoc-args = ["--generate-link-to-definition"]
43
44 [features]
45 large-dates = []
46
47 [lib]
48 name = "time_core"
49 path = "src/lib.rs"
•50 doctest = false
51
52 [lints.clippy]
53 alloc-instead-of-core = "deny"
54 as-underscore = "warn"
55 dbg-macro = "warn"
56 decimal-literal-representation = "warn"
57 explicit-auto-deref = "warn"
58 get-unwrap = "warn"
59 manual-let-else = "warn"
60 missing-docs-in-private-items = "warn"
61 missing-enforced-import-renames = "warn"
62 obfuscated-if-else = "warn"
63 print-stdout = "warn"
64 semicolon-outside-block = "warn"
65 std-instead-of-core = "deny"
66 todo = "warn"
67 undocumented-unsafe-blocks = "deny"
68 unimplemented = "warn"
69 uninlined-format-args = "warn"
70 unnested-or-patterns = "warn"
71 unwrap-in-result = "warn"
72 unwrap-used = "warn"
73 use-debug = "warn"
74
75 [lints.clippy.all]
76 level = "warn"
77 priority = -1
78
79 [lints.clippy.incompatible-msrv]
80 level = "allow"
81 priority = 1
82
83 [lints.clippy.nursery]
84 level = "warn"
85 priority = -1
86
87 [lints.clippy.option-if-let-else]
88 level = "allow"
89 priority = 1
90
91 [lints.clippy.redundant-pub-crate]
92 level = "allow"
93 priority = 1
94
95 [lints.clippy.uninhabited-references]
96 level = "allow"
97 priority = 1
98
99 [lints.rust]
100 ambiguous-glob-reexports = "deny"
101 clashing-extern-declarations = "deny"
102 const-item-mutation = "deny"
103 dangling-pointers-from-temporaries = "deny"
104 deref-nullptr = "deny"
105 drop-bounds = "deny"
106 future-incompatible = "deny"
107 hidden-glob-reexports = "deny"
108 improper-ctypes = "deny"
109 improper-ctypes-definitions = "deny"
110 invalid-from-utf8 = "deny"
111 invalid-macro-export-arguments = "deny"
112 invalid-nan-comparisons = "deny"
113 invalid-reference-casting = "deny"
114 invalid-value = "deny"
115 keyword-idents = "warn"
116 let-underscore = "warn"
117 macro-use-extern-crate = "warn"
118 meta-variable-misuse = "warn"
119 missing-abi = "warn"
120 missing-copy-implementations = "warn"
121 missing-debug-implementations = "warn"
122 missing-docs = "warn"
123 named-arguments-used-positionally = "deny"
124 non-ascii-idents = "deny"
125 noop-method-call = "warn"
126 opaque-hidden-inferred-bound = "deny"
127 overlapping-range-endpoints = "deny"
128 single-use-lifetimes = "warn"
129 suspicious-double-ref-op = "deny"
130 trivial-casts = "warn"
131 trivial-numeric-casts = "warn"
132 unconditional-recursion = "deny"
133 unnameable-test-items = "deny"
134 unreachable-pub = "warn"
135 unsafe-op-in-unsafe-fn = "deny"
136 unstable-syntax-pre-expansion = "deny"
137 unused-import-braces = "warn"
138 unused-lifetimes = "warn"
139 unused-qualifications = "warn"
140 variant-size-differences = "warn"
141
142 [lints.rust.unexpected_cfgs]
143 level = "deny"
144 priority = 0
145 check-cfg = [
146 "cfg(__ui_tests)",
147 "cfg(bench)",
148 ]
149
150 [lints.rust.unstable-name-collisions]
151 level = "allow"
152 priority = 1
153
154 [lints.rust.unused]
155 level = "warn"
156 priority = -1
157
158 [lints.rustdoc]
159 private-doc-tests = "warn"
160 unescaped-backticks = "warn"