Debian Codegraph @

debian/rust-vendor/deranged/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 = "2021"
14 rust-version = "1.85.0"
15 name = "deranged"
16 version = "0.5.8"
17 authors = ["Jacob Pratt <[email protected]>"]
18 build = false
19 include = [
20 "src/**/*",
21 "LICENSE-*",
22 "README.md",
23 ]
24 autolib = false
25 autobins = false
26 autoexamples = false
27 autotests = false
28 autobenches = false
29 description = "Ranged integers"
30 readme = "README.md"
31 keywords = [
32 "integer",
33 "int",
34 "range",
35 ]
36 license = "MIT OR Apache-2.0"
37 repository = "https://github.com/jhpratt/deranged"
38
39 [package.metadata.docs.rs]
40 all-features = true
41 targets = ["x86_64-unknown-linux-gnu"]
42 rustdoc-args = [
43 "--generate-link-to-definition",
44 "--generate-macro-expansion",
45 ]
46
47 [features]
48 alloc = []
49 default = []
50 macros = ["dep:deranged-macros"]
51 num = ["dep:num-traits"]
52 powerfmt = ["dep:powerfmt"]
53 quickcheck = [
54 "dep:quickcheck",
55 "alloc",
56 ]
57 rand = [
58 "rand08",
59 "rand09",
60 "rand010",
61 ]
62 rand010 = ["dep:rand010"]
63 rand08 = ["dep:rand08"]
64 rand09 = ["dep:rand09"]
65 serde = ["dep:serde_core"]
66
67 [lib]
68 name = "deranged"
69 path = "src/lib.rs"
70
71 [dependencies.deranged-macros]
72 version = "=0.3.0"
73 optional = true
74
75 [dependencies.num-traits]
76 version = "0.2.15"
77 optional = true
78 default-features = false
79
80 [dependencies.powerfmt]
81 version = "0.2.0"
82 optional = true
83 default-features = false
84
85 [dependencies.quickcheck]
86 version = "1.0.3"
87 optional = true
88 default-features = false
89
90 [dependencies.rand010]
91 version = "0.10.0"
92 optional = true
93 default-features = false
94 package = "rand"
95
96 [dependencies.rand08]
97 version = "0.8.4"
98 optional = true
99 default-features = false
100 package = "rand"
101
102 [dependencies.rand09]
103 version = "0.9.0"
104 optional = true
105 default-features = false
106 package = "rand"
107
108 [dependencies.serde_core]
109 version = "1.0.220"
110 optional = true
111 default-features = false
112
113 [dev-dependencies.rand010]
114 version = "0.10.0"
115 package = "rand"
116
117 [dev-dependencies.rand08]
118 version = "0.8.4"
119 package = "rand"
120
121 [dev-dependencies.rand09]
122 version = "0.9.0"
123 package = "rand"
124
125 [dev-dependencies.serde_json]
126 version = "1.0.86"
127
128 [lints.clippy]
129 alloc-instead-of-core = "deny"
130 dbg-macro = "warn"
131 decimal-literal-representation = "warn"
132 explicit-auto-deref = "warn"
133 get-unwrap = "warn"
134 manual-let-else = "warn"
135 missing-docs-in-private-items = "warn"
136 missing-enforced-import-renames = "warn"
137 obfuscated-if-else = "warn"
138 option-if-let-else = "allow"
139 print-stdout = "warn"
140 redundant-pub-crate = "allow"
141 semicolon-outside-block = "warn"
142 std-instead-of-core = "deny"
143 todo = "warn"
144 undocumented-unsafe-blocks = "deny"
145 unimplemented = "warn"
146 uninlined-format-args = "warn"
147 unnested-or-patterns = "warn"
148 unwrap-in-result = "warn"
149 unwrap-used = "warn"
150 use-debug = "warn"
151
152 [lints.clippy.all]
153 level = "warn"
154 priority = -1
155
156 [lints.clippy.nursery]
157 level = "warn"
158 priority = -1
159
160 [lints.rust]
161 ambiguous-glob-reexports = "deny"
162 clashing-extern-declarations = "deny"
163 const-item-mutation = "deny"
164 dangling-pointers-from-temporaries = "deny"
165 deref-nullptr = "deny"
166 drop-bounds = "deny"
167 future-incompatible = "deny"
168 hidden-glob-reexports = "deny"
169 improper-ctypes = "deny"
170 improper-ctypes-definitions = "deny"
171 invalid-from-utf8 = "deny"
172 invalid-macro-export-arguments = "deny"
173 invalid-nan-comparisons = "deny"
174 invalid-reference-casting = "deny"
175 invalid-value = "deny"
176 keyword-idents = "warn"
177 let-underscore = "warn"
178 macro-use-extern-crate = "warn"
179 meta-variable-misuse = "warn"
180 missing-abi = "warn"
181 missing-copy-implementations = "warn"
182 missing-debug-implementations = "warn"
183 missing-docs = "warn"
184 named-arguments-used-positionally = "deny"
185 non-ascii-idents = "deny"
186 noop-method-call = "warn"
187 opaque-hidden-inferred-bound = "deny"
188 overlapping-range-endpoints = "deny"
189 single-use-lifetimes = "warn"
190 suspicious-double-ref-op = "deny"
191 trivial-casts = "warn"
192 trivial-numeric-casts = "warn"
193 unconditional-recursion = "deny"
194 unnameable-test-items = "deny"
195 unreachable-pub = "warn"
196 unsafe-op-in-unsafe-fn = "deny"
197 unstable-syntax-pre-expansion = "deny"
198 unused-import-braces = "warn"
199 unused-lifetimes = "warn"
200 unused-qualifications = "warn"
201 variant-size-differences = "warn"
202
203 [lints.rust.path-statements]
204 level = "allow"
205 priority = 1
206
207 [lints.rust.unstable-name-collisions]
208 level = "warn"
209 priority = 1
210
211 [lints.rust.unused]
212 level = "warn"
213 priority = -1
214
215 [lints.rustdoc]
216 private-doc-tests = "warn"
217 unescaped-backticks = "warn"