Debian Codegraph @

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