Debian Codegraph @

Cargo.toml

raw ◀ ▶
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.clap]
78 version = "4"
79 features = [
80 "std",
81 "derive",
82 ]
83 default-features = false
84
85 [dev-dependencies.fs-err]
86 version = "3"
87
88 [dev-dependencies.lexopt]
89 version = "0.3"
90
91 [dev-dependencies.rustversion]
92 version = "1"
93
94 [dev-dependencies.serde_json]
95 version = "1"
96
97 [dev-dependencies.shell-escape]
98 version = "0.1"
99
100 [dev-dependencies.static_assertions]
101 version = "1"
102
103 [dev-dependencies.tempfile]
104 version = "3"
105 default-features = false
106
107 [dev-dependencies.toml]
108 version = "1"
109
110 [lints.clippy]
111 all = "warn"
112 as_ptr_cast_mut = "warn"
113 as_underscore = "warn"
114 default_union_representation = "warn"
115 inline_asm_x86_att_syntax = "warn"
116 pedantic = "warn"
117 trailing_empty_array = "warn"
118 transmute_undefined_repr = "warn"
119 undocumented_unsafe_blocks = "warn"
120 unused_trait_names = "warn"
121
122 [lints.clippy.bool_assert_comparison]
123 level = "allow"
124 priority = 1
125
126 [lints.clippy.borrow_as_ptr]
127 level = "allow"
128 priority = 1
129
130 [lints.clippy.cast_lossless]
131 level = "allow"
132 priority = 1
133
134 [lints.clippy.collapsible_match]
135 level = "allow"
136 priority = 1
137
138 [lints.clippy.declare_interior_mutable_const]
139 level = "allow"
140 priority = 1
141
142 [lints.clippy.doc_markdown]
143 level = "allow"
144 priority = 1
145
146 [lints.clippy.float_cmp]
147 level = "allow"
148 priority = 1
149
150 [lints.clippy.incompatible_msrv]
151 level = "allow"
152 priority = 1
153
154 [lints.clippy.manual_assert]
155 level = "allow"
156 priority = 1
157
158 [lints.clippy.manual_range_contains]
159 level = "allow"
160 priority = 1
161
162 [lints.clippy.missing_errors_doc]
163 level = "allow"
164 priority = 1
165
166 [lints.clippy.module_name_repetitions]
167 level = "allow"
168 priority = 1
169
170 [lints.clippy.naive_bytecount]
171 level = "allow"
172 priority = 1
173
174 [lints.clippy.nonminimal_bool]
175 level = "allow"
176 priority = 1
177
178 [lints.clippy.range_plus_one]
179 level = "allow"
180 priority = 1
181
182 [lints.clippy.similar_names]
183 level = "allow"
184 priority = 1
185
186 [lints.clippy.single_match]
187 level = "allow"
188 priority = 1
189
190 [lints.clippy.single_match_else]
191 level = "allow"
192 priority = 1
193
194 [lints.clippy.struct_excessive_bools]
195 level = "allow"
196 priority = 1
197
198 [lints.clippy.struct_field_names]
199 level = "allow"
200 priority = 1
201
202 [lints.clippy.too_many_arguments]
203 level = "allow"
204 priority = 1
205
206 [lints.clippy.too_many_lines]
207 level = "allow"
208 priority = 1
209
210 [lints.clippy.type_complexity]
211 level = "allow"
212 priority = 1
213
214 [lints.rust]
215 deprecated_safe = "warn"
216 improper_ctypes = "warn"
217 improper_ctypes_definitions = "warn"
218 non_ascii_idents = "warn"
219 rust_2018_idioms = "warn"
220 single_use_lifetimes = "warn"
221 unnameable_types = "warn"
222 unreachable_pub = "warn"
223 unsafe_op_in_unsafe_fn = "warn"
224
225 [lints.rust.unexpected_cfgs]
226 level = "warn"
227 priority = 0
228 check-cfg = ["cfg(careful)"]