Debian Codegraph @

debian/missing-sources/derive_more/Cargo.toml.orig

raw
1 [package]
2 name = "derive_more"
3 version = "2.1.1"
4 edition = "2021"
5 rust-version = "1.81.0"
6 description = "Adds #[derive(x)] macros for more traits"
7 authors = ["Jelte Fennema <[email protected]>"]
8 license = "MIT"
9 repository = "https://github.com/JelteF/derive_more"
10 documentation = "https://docs.rs/derive_more"
11
12 readme = "README.md"
13 keywords = ["derive", "Add", "From", "Display", "IntoIterator"]
14 categories = ["development-tools", "development-tools::procedural-macro-helpers", "no-std", "rust-patterns"]
15
16 include = [
17 "src/**/*.rs",
18 "Cargo.toml",
19 "LICENSE",
20 "README.md",
21 "CHANGELOG.md",
22 "tests/**/*.rs", # debian packaging wants this
23 "examples/**/*.rs"
24 ]
25
26 [workspace]
27 members = ["impl"]
28
29 [dependencies]
30 derive_more-impl = { version = "=2.1.1", path = "impl" }
31
32 [build-dependencies]
33 rustc_version = { version = "0.4", optional = true }
34
35 [dev-dependencies]
36 rustversion = "1.0"
37 static_assertions = "1.1"
38 trybuild = "1.0.56"
39
40 [badges]
41 github = { repository = "JelteF/derive_more", workflow = "CI" }
42
43 [package.metadata.docs.rs]
44 features = ["full"]
45 rustdoc-args = ["--cfg", "docsrs"]
46
47 [package.metadata.playground]
48 features = ["full", "std"]
49
50 [lints.rust]
51 unexpected_cfgs = { level = "warn", check-cfg = ["cfg(ci)", "cfg(nightly)"] }
52
53 [features]
54 default = ["std"]
55
56 add = ["derive_more-impl/add"]
57 add_assign = ["derive_more-impl/add_assign"]
58 as_ref = ["derive_more-impl/as_ref"]
59 constructor = ["derive_more-impl/constructor"]
60 debug = ["derive_more-impl/debug"]
61 deref = ["derive_more-impl/deref"]
62 deref_mut = ["derive_more-impl/deref_mut"]
63 display = ["derive_more-impl/display"]
64 eq = ["derive_more-impl/eq"]
65 error = ["derive_more-impl/error"]
66 from = ["derive_more-impl/from"]
67 from_str = ["derive_more-impl/from_str"]
68 index = ["derive_more-impl/index"]
69 index_mut = ["derive_more-impl/index_mut"]
70 into = ["derive_more-impl/into"]
71 into_iterator = ["derive_more-impl/into_iterator"]
72 is_variant = ["derive_more-impl/is_variant"]
73 mul = ["derive_more-impl/mul"]
74 mul_assign = ["derive_more-impl/mul_assign"]
75 not = ["derive_more-impl/not"]
76 sum = ["derive_more-impl/sum"]
77 try_from = ["derive_more-impl/try_from"]
78 try_into = ["derive_more-impl/try_into"]
79 try_unwrap = ["derive_more-impl/try_unwrap"]
80 unwrap = ["derive_more-impl/unwrap"]
81
82 std = []
83 full = [
84 "add",
85 "add_assign",
86 "as_ref",
87 "constructor",
88 "debug",
89 "deref",
90 "deref_mut",
91 "display",
92 "eq",
93 "error",
94 "from",
95 "from_str",
96 "index",
97 "index_mut",
98 "into",
99 "into_iterator",
100 "is_variant",
101 "mul",
102 "mul_assign",
103 "not",
104 "sum",
105 "try_from",
106 "try_into",
107 "try_unwrap",
108 "unwrap",
109 ]
110
111 testing-helpers = ["derive_more-impl/testing-helpers", "dep:rustc_version"]
112
113 [[test]]
114 name = "add"
115 path = "tests/add.rs"
116 required-features = ["add"]
117
118 [[test]]
119 name = "add_assign"
120 path = "tests/add_assign.rs"
121 required-features = ["add_assign"]
122
123 [[test]]
124 name = "as_mut"
125 path = "tests/as_mut.rs"
126 required-features = ["as_ref"]
127
128 [[test]]
129 name = "as_ref"
130 path = "tests/as_ref.rs"
131 required-features = ["as_ref"]
132
133 [[test]]
134 name = "boats_display_derive"
135 path = "tests/boats_display_derive.rs"
136 required-features = ["display"]
137
138 [[test]]
139 name = "constructor"
140 path = "tests/constructor.rs"
141 required-features = ["constructor"]
142
143 [[test]]
144 name = "debug"
145 path = "tests/debug.rs"
146 required-features = ["debug"]
147
148 [[test]]
149 name = "deref"
150 path = "tests/deref.rs"
151 required-features = ["deref"]
152
153 [[test]]
154 name = "deref_mut"
155 path = "tests/deref_mut.rs"
156 required-features = ["deref_mut"]
157
158 [[test]]
159 name = "display"
160 path = "tests/display.rs"
161 required-features = ["display"]
162
163 [[test]]
164 name = "eq"
165 path = "tests/eq.rs"
166 required-features = ["eq"]
167
168 [[test]]
169 name = "error"
170 path = "tests/error_tests.rs"
171 required-features = ["error"]
172
173 [[test]]
174 name = "from"
175 path = "tests/from.rs"
176 required-features = ["from"]
177
178 [[test]]
179 name = "from_str"
180 path = "tests/from_str.rs"
181 required-features = ["from_str"]
182
183 [[test]]
184 name = "index_mut"
185 path = "tests/index_mut.rs"
186 required-features = ["index_mut"]
187
188 [[test]]
189 name = "index"
190 path = "tests/index.rs"
191 required-features = ["index"]
192
193 [[test]]
194 name = "into"
195 path = "tests/into.rs"
196 required-features = ["into"]
197
198 [[test]]
199 name = "into_iterator"
200 path = "tests/into_iterator.rs"
201 required-features = ["into_iterator"]
202
203 [[test]]
204 name = "is_variant"
205 path = "tests/is_variant.rs"
206 required-features = ["is_variant"]
207
208 [[test]]
209 name = "mul"
210 path = "tests/mul.rs"
211 required-features = ["mul"]
212
213 [[test]]
214 name = "mul_assign"
215 path = "tests/mul_assign.rs"
216 required-features = ["mul_assign"]
217
218 [[test]]
219 name = "not"
220 path = "tests/not.rs"
221 required-features = ["not"]
222
223 [[test]]
224 name = "partial_eq"
225 path = "tests/partial_eq.rs"
226 required-features = ["eq"]
227
228 [[test]]
229 name = "sum"
230 path = "tests/sum.rs"
231 required-features = ["sum"]
232
233 [[test]]
234 name = "try_from"
235 path = "tests/try_from.rs"
236 required-features = ["try_from"]
237
238 [[test]]
239 name = "try_into"
240 path = "tests/try_into.rs"
241 required-features = ["try_into"]
242
243 [[test]]
244 name = "try_unwrap"
245 path = "tests/try_unwrap.rs"
246 required-features = ["try_unwrap"]
247
248 [[test]]
249 name = "unwrap"
250 path = "tests/unwrap.rs"
251 required-features = ["unwrap"]
252
253 [[test]]
254 name = "compile_fail"
255 path = "tests/compile_fail/mod.rs"
256 required-features = ["as_ref", "debug", "display", "from", "into", "is_variant", "try_from", "try_into"]
257
258 [[test]]
259 name = "no_std"
260 path = "tests/no_std.rs"
261 required-features = ["full"]
262
263 [[test]]
264 name = "generics"
265 path = "tests/generics.rs"
266 required-features = ["full"]
267
268 [[test]]
269 name = "lib"
270 path = "tests/lib.rs"
271 required-features = ["full"]
272
273 [[example]]
274 name = "deny_missing_docs"
275 path = "examples/deny_missing_docs.rs"
276 required-features = ["full"]