Debian Codegraph @

debian/missing-sources/deranged/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 = "2021"
14 rust-version = "1.81.0"
15 name = "deranged"
16 version = "0.5.5"
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 ]
61 rand08 = ["dep:rand08"]
62 rand09 = ["dep:rand09"]
63 serde = ["dep:serde_core"]
64
65 [lib]
66 name = "deranged"
67 path = "src/lib.rs"
68
69 [dependencies.deranged-macros]
70 version = "=0.3.0"
71 optional = true
72
73 [dependencies.num-traits]
74 version = "0.2.15"
75 optional = true
76 default-features = false
77
78 [dependencies.powerfmt]
79 version = "0.2.0"
80 optional = true
81 default-features = false
82
83 [dependencies.quickcheck]
84 version = "1.0.3"
85 optional = true
86 default-features = false
87
88 [dependencies.rand08]
89 version = "0.8.4"
90 optional = true
91 default-features = false
92 package = "rand"
93
94 [dependencies.rand09]
95 version = "0.9.0"
96 optional = true
97 default-features = false
98 package = "rand"
99
100 [dependencies.serde_core]
101 version = "1.0.220"
102 optional = true
103 default-features = false
104
105 [dev-dependencies.rand08]
106 version = "0.8.4"
107 package = "rand"
108
109 [dev-dependencies.rand09]
110 version = "0.9.0"
111 package = "rand"
112
113 [dev-dependencies.serde_json]
114 version = "1.0.86"
115
116 [lints.clippy]
117 alloc-instead-of-core = "deny"
118 dbg-macro = "warn"
119 decimal-literal-representation = "warn"
120 explicit-auto-deref = "warn"
121 get-unwrap = "warn"
122 manual-let-else = "warn"
123 missing-docs-in-private-items = "warn"
124 missing-enforced-import-renames = "warn"
125 obfuscated-if-else = "warn"
126 option-if-let-else = "allow"
127 print-stdout = "warn"
128 redundant-pub-crate = "allow"
129 semicolon-outside-block = "warn"
130 std-instead-of-core = "deny"
131 todo = "warn"
132 undocumented-unsafe-blocks = "deny"
133 unimplemented = "warn"
134 uninlined-format-args = "warn"
135 unnested-or-patterns = "warn"
136 unwrap-in-result = "warn"
137 unwrap-used = "warn"
138 use-debug = "warn"
139
140 [lints.clippy.all]
141 level = "warn"
142 priority = -1
143
144 [lints.clippy.nursery]
145 level = "warn"
146 priority = -1
147
148 [lints.rust]
149 ambiguous-glob-reexports = "deny"
150 clashing-extern-declarations = "deny"
151 const-item-mutation = "deny"
152 dangling-pointers-from-temporaries = "deny"
153 deref-nullptr = "deny"
154 drop-bounds = "deny"
155 future-incompatible = "deny"
156 hidden-glob-reexports = "deny"
157 improper-ctypes = "deny"
158 improper-ctypes-definitions = "deny"
159 invalid-from-utf8 = "deny"
160 invalid-macro-export-arguments = "deny"
161 invalid-nan-comparisons = "deny"
162 invalid-reference-casting = "deny"
163 invalid-value = "deny"
164 keyword-idents = "warn"
165 let-underscore = "warn"
166 macro-use-extern-crate = "warn"
167 meta-variable-misuse = "warn"
168 missing-abi = "warn"
169 missing-copy-implementations = "warn"
170 missing-debug-implementations = "warn"
171 missing-docs = "warn"
172 named-arguments-used-positionally = "deny"
173 non-ascii-idents = "deny"
174 noop-method-call = "warn"
175 opaque-hidden-inferred-bound = "deny"
176 overlapping-range-endpoints = "deny"
177 single-use-lifetimes = "warn"
178 suspicious-double-ref-op = "deny"
179 trivial-casts = "warn"
180 trivial-numeric-casts = "warn"
181 unconditional-recursion = "deny"
182 unnameable-test-items = "deny"
183 unreachable-pub = "warn"
184 unsafe-op-in-unsafe-fn = "deny"
185 unstable-syntax-pre-expansion = "deny"
186 unused-import-braces = "warn"
187 unused-lifetimes = "warn"
188 unused-qualifications = "warn"
189 variant-size-differences = "warn"
190
191 [lints.rust.path-statements]
192 level = "allow"
193 priority = 1
194
195 [lints.rust.unstable-name-collisions]
196 level = "warn"
197 priority = 1
198
199 [lints.rust.unused]
200 level = "warn"
201 priority = -1
202
203 [lints.rustdoc]
204 private-doc-tests = "warn"
205 unescaped-backticks = "warn"