Debian Codegraph @

Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
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"
15 name = "cargo-config2"
16 version = "0.1.45"
17 build = false
18 exclude = [
19 "/.*",
20 "/tools",
21 ]
22 autolib = false
23 autobins = false
24 autoexamples = false
25 autotests = false
26 autobenches = false
27 description = """
28 Load and resolve Cargo configuration.
29 """
30 readme = "README.md"
31 keywords = [
32 "cargo",
33 "config",
34 ]
35 categories = []
36 license = "Apache-2.0 OR MIT"
37 repository = "https://github.com/taiki-e/cargo-config2"
38
39 [package.metadata.docs.rs]
40 targets = ["x86_64-unknown-linux-gnu"]
41
42 [package.metadata.cargo_check_external_types]
43 allowed_external_types = ["serde_core::*"]
44
45 [features]
46
47 [lib]
48 name = "cargo_config2"
49 path = "src/lib.rs"
50 doc-scrape-examples = false
51
52 [[example]]
53 name = "get"
54 path = "examples/get.rs"
55
56 [[test]]
57 name = "test"
58 path = "tests/test.rs"
59
60 [dependencies.serde]
61 version = "1.0.225"
62
63 [dependencies.serde_derive]
64 version = "1.0.225"
65
66 [dependencies.toml]
67 version = "1"
68 features = [
69 "parse",
70 "serde",
71 ]
72 default-features = false
73
74 [dev-dependencies.anyhow]
75 version = "1"
76
77 [dev-dependencies.build-context]
78 version = "0.1"
79
80 [dev-dependencies.clap]
81 version = "4"
82 features = [
83 "std",
84 "derive",
85 ]
86 default-features = false
87
88 [dev-dependencies.fs-err]
89 version = "3"
90
91 [dev-dependencies.lexopt]
92 version = "0.3"
93
94 [dev-dependencies.rustversion]
95 version = "1"
96
97 [dev-dependencies.serde_json]
98 version = "1"
99
100 [dev-dependencies.shell-escape]
101 version = "0.1"
102
103 [dev-dependencies.static_assertions]
104 version = "1"
105
106 [dev-dependencies.tempfile]
107 version = "3"
108 default-features = false
109
110 [dev-dependencies.toml]
111 version = "1"
112
113 [lints.clippy]
114 all = "warn"
115 as_ptr_cast_mut = "warn"
116 as_underscore = "warn"
117 default_union_representation = "warn"
118 inline_asm_x86_att_syntax = "warn"
119 pedantic = "warn"
120 trailing_empty_array = "warn"
121 transmute_undefined_repr = "warn"
122 undocumented_unsafe_blocks = "warn"
123 unused_trait_names = "warn"
124
125 [lints.clippy.bool_assert_comparison]
126 level = "allow"
127 priority = 1
128
129 [lints.clippy.borrow_as_ptr]
130 level = "allow"
131 priority = 1
132
133 [lints.clippy.cast_lossless]
134 level = "allow"
135 priority = 1
136
137 [lints.clippy.collapsible_match]
138 level = "allow"
139 priority = 1
140
141 [lints.clippy.declare_interior_mutable_const]
142 level = "allow"
143 priority = 1
144
145 [lints.clippy.doc_markdown]
146 level = "allow"
147 priority = 1
148
149 [lints.clippy.float_cmp]
150 level = "allow"
151 priority = 1
152
153 [lints.clippy.incompatible_msrv]
154 level = "allow"
155 priority = 1
156
157 [lints.clippy.manual_assert]
158 level = "allow"
159 priority = 1
160
161 [lints.clippy.manual_range_contains]
162 level = "allow"
163 priority = 1
164
165 [lints.clippy.missing_errors_doc]
166 level = "allow"
167 priority = 1
168
169 [lints.clippy.module_name_repetitions]
170 level = "allow"
171 priority = 1
172
173 [lints.clippy.naive_bytecount]
174 level = "allow"
175 priority = 1
176
177 [lints.clippy.nonminimal_bool]
178 level = "allow"
179 priority = 1
180
181 [lints.clippy.range_plus_one]
182 level = "allow"
183 priority = 1
184
185 [lints.clippy.similar_names]
186 level = "allow"
187 priority = 1
188
189 [lints.clippy.single_match]
190 level = "allow"
191 priority = 1
192
193 [lints.clippy.single_match_else]
194 level = "allow"
195 priority = 1
196
197 [lints.clippy.struct_excessive_bools]
198 level = "allow"
199 priority = 1
200
201 [lints.clippy.struct_field_names]
202 level = "allow"
203 priority = 1
204
205 [lints.clippy.too_many_arguments]
206 level = "allow"
207 priority = 1
208
209 [lints.clippy.too_many_lines]
210 level = "allow"
211 priority = 1
212
213 [lints.clippy.type_complexity]
214 level = "allow"
215 priority = 1
216
217 [lints.rust]
218 deprecated_safe = "warn"
219 improper_ctypes = "warn"
220 improper_ctypes_definitions = "warn"
221 non_ascii_idents = "warn"
222 rust_2018_idioms = "warn"
223 single_use_lifetimes = "warn"
224 unnameable_types = "warn"
225 unreachable_pub = "warn"
226 unsafe_op_in_unsafe_fn = "warn"
227
228 [lints.rust.unexpected_cfgs]
229 level = "warn"
230 priority = 0
231 check-cfg = ["cfg(careful)"]