Debian Codegraph @

debian/rust-vendor/time-macros/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 = "2024"
14 rust-version = "1.88.0"
15 name = "time-macros"
16 version = "0.2.32"
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.2"
60
61 [dependencies.time-core]
62 version = "=0.1.9"
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 missing-panics-doc = "warn"
75 obfuscated-if-else = "warn"
76 print-stdout = "warn"
77 semicolon-outside-block = "warn"
78 std-instead-of-core = "deny"
79 todo = "warn"
80 undocumented-unsafe-blocks = "deny"
81 unimplemented = "warn"
82 uninlined-format-args = "warn"
83 unnested-or-patterns = "warn"
84 unwrap-in-result = "warn"
85 unwrap-used = "warn"
86 use-debug = "warn"
87
88 [lints.clippy.all]
89 level = "warn"
90 priority = -1
91
92 [lints.clippy.incompatible-msrv]
93 level = "allow"
94 priority = 1
95
96 [lints.clippy.nursery]
97 level = "warn"
98 priority = -1
99
100 [lints.clippy.option-if-let-else]
101 level = "allow"
102 priority = 1
103
104 [lints.clippy.redundant-pub-crate]
105 level = "allow"
106 priority = 1
107
108 [lints.clippy.uninhabited-references]
109 level = "allow"
110 priority = 1
111
112 [lints.rust]
113 ambiguous-glob-reexports = "deny"
114 clashing-extern-declarations = "deny"
115 const-item-mutation = "deny"
116 dangling-pointers-from-temporaries = "deny"
117 deref-nullptr = "deny"
118 drop-bounds = "deny"
119 future-incompatible = "deny"
120 hidden-glob-reexports = "deny"
121 improper-ctypes = "deny"
122 improper-ctypes-definitions = "deny"
123 invalid-from-utf8 = "deny"
124 invalid-macro-export-arguments = "deny"
125 invalid-nan-comparisons = "deny"
126 invalid-reference-casting = "deny"
127 invalid-value = "deny"
128 keyword-idents = "warn"
129 let-underscore = "warn"
130 macro-use-extern-crate = "warn"
131 meta-variable-misuse = "warn"
132 missing-abi = "warn"
133 missing-copy-implementations = "warn"
134 missing-debug-implementations = "warn"
135 missing-docs = "warn"
136 named-arguments-used-positionally = "deny"
137 non-ascii-idents = "deny"
138 noop-method-call = "warn"
139 opaque-hidden-inferred-bound = "deny"
140 overlapping-range-endpoints = "deny"
141 single-use-lifetimes = "warn"
142 suspicious-double-ref-op = "deny"
143 trivial-casts = "warn"
144 trivial-numeric-casts = "warn"
145 unconditional-recursion = "deny"
146 unnameable-test-items = "deny"
147 unreachable-pub = "warn"
148 unsafe-op-in-unsafe-fn = "deny"
149 unstable-syntax-pre-expansion = "deny"
150 unused-import-braces = "warn"
151 unused-lifetimes = "warn"
152 unused-qualifications = "warn"
153 variant-size-differences = "warn"
154
155 [lints.rust.unexpected_cfgs]
156 level = "deny"
157 priority = 0
158 check-cfg = [
159 "cfg(__ui_tests)",
160 "cfg(bench)",
161 ]
162
163 [lints.rust.unstable-name-collisions]
164 level = "allow"
165 priority = 1
166
167 [lints.rust.unused]
168 level = "warn"
169 priority = -1
170
171 [lints.rustdoc]
172 private-doc-tests = "warn"
173 unescaped-backticks = "warn"