Debian Codegraph @

debian/missing-sources/toml/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.76"
15 name = "toml"
16 version = "0.9.11+spec-1.1.0"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "Cargo.lock",
23 "LICENSE*",
24 "README.md",
25 "examples/**/*",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = """
33 A native Rust encoder and decoder of TOML-formatted files and streams. Provides
34 implementations of the standard Serialize/Deserialize traits for TOML data to
35 facilitate deserializing and serializing Rust structures.
36 """
37 readme = "README.md"
38 keywords = [
39 "encoding",
40 "toml",
41 "no_std",
42 ]
43 categories = [
44 "encoding",
45 "parser-implementations",
46 "parsing",
47 "config",
48 ]
49 license = "MIT OR Apache-2.0"
50 repository = "https://github.com/toml-rs/toml"
51
52 [package.metadata.docs.rs]
53 all-features = true
54 rustdoc-args = ["--generate-link-to-definition"]
55
56 [[package.metadata.release.pre-release-replacements]]
57 file = "CHANGELOG.md"
58 search = "Unreleased"
59 replace = "{{version}}"
60 min = 1
61
62 [[package.metadata.release.pre-release-replacements]]
63 file = "CHANGELOG.md"
64 search = '\.\.\.HEAD'
65 replace = "...{{tag_name}}"
66 exactly = 1
67
68 [[package.metadata.release.pre-release-replacements]]
69 file = "CHANGELOG.md"
70 search = "ReleaseDate"
71 replace = "{{date}}"
72 min = 1
73
74 [[package.metadata.release.pre-release-replacements]]
75 file = "CHANGELOG.md"
76 search = "<!-- next-header -->"
77 replace = """
78 <!-- next-header -->
79 ## [Unreleased] - ReleaseDate
80 """
81 exactly = 1
82
83 [[package.metadata.release.pre-release-replacements]]
84 file = "CHANGELOG.md"
85 search = "<!-- next-url -->"
86 replace = """
87 <!-- next-url -->
88 [Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD"""
89 exactly = 1
90
91 [features]
92 debug = [
93 "std",
94 "toml_parser?/debug",
95 "dep:anstream",
96 "dep:anstyle",
97 ]
98 default = [
99 "std",
100 "serde",
101 "parse",
102 "display",
103 ]
104 display = ["dep:toml_writer"]
105 fast_hash = [
106 "preserve_order",
107 "dep:foldhash",
108 ]
109 parse = [
110 "dep:toml_parser",
111 "dep:winnow",
112 ]
113 preserve_order = [
114 "dep:indexmap",
115 "std",
116 ]
117 serde = [
118 "dep:serde_core",
119 "toml_datetime/serde",
120 "serde_spanned/serde",
121 ]
122 std = [
123 "indexmap?/std",
124 "serde_core?/std",
125 "toml_parser?/std",
126 "toml_writer?/std",
127 "toml_datetime/std",
128 "serde_spanned/std",
129 ]
130 unbounded = []
131
132 [lib]
133 name = "toml"
134 path = "src/lib.rs"
135
136 [[example]]
137 name = "decode"
138 path = "examples/decode.rs"
139 required-features = [
140 "parse",
141 "display",
142 "serde",
143 ]
144
145 [[example]]
146 name = "enum_external"
147 path = "examples/enum_external.rs"
148 required-features = [
149 "parse",
150 "display",
151 "serde",
152 ]
153
154 [[example]]
155 name = "toml2json"
156 path = "examples/toml2json.rs"
157 required-features = [
158 "parse",
159 "display",
160 "serde",
161 ]
162
163 [dependencies.anstream]
164 version = "0.6.20"
165 optional = true
166
167 [dependencies.anstyle]
168 version = "1.0.11"
169 optional = true
170
171 [dependencies.foldhash]
172 version = "0.2.0"
173 optional = true
174 default-features = false
175
176 [dependencies.indexmap]
177 version = "2.11.4"
178 optional = true
179 default-features = false
180
181 [dependencies.serde_core]
182 version = "1.0.225"
183 features = ["alloc"]
184 optional = true
185 default-features = false
186
187 [dependencies.serde_spanned]
188 version = "1.0.4"
189 features = ["alloc"]
190 default-features = false
191
192 [dependencies.toml_datetime]
193 version = "0.7.5"
194 features = ["alloc"]
195 default-features = false
196
197 [dependencies.toml_parser]
198 version = "1.0.6"
199 features = ["alloc"]
200 optional = true
201 default-features = false
202
203 [dependencies.toml_writer]
204 version = "1.0.6"
205 features = ["alloc"]
206 optional = true
207 default-features = false
208
209 [dependencies.winnow]
210 version = "0.7.13"
211 optional = true
212 default-features = false
213
214 [dev-dependencies.itertools]
215 version = "0.14.0"
216
217 [dev-dependencies.serde]
218 version = "1.0.225"
219 features = ["derive"]
220
221 [dev-dependencies.serde-untagged]
222 version = "0.1.9"
223
224 [dev-dependencies.serde_json]
225 version = "1.0.145"
226
227 [dev-dependencies.snapbox]
228 version = "0.6.21"
229
230 [dev-dependencies.toml-test-data]
231 version = "2.3.3"
232
233 [dev-dependencies.toml-test-harness]
234 version = "1.3.3"
235 features = ["snapshot"]
236
237 [dev-dependencies.walkdir]
238 version = "2.5.0"
239
240 [lints.clippy]
241 bool_assert_comparison = "allow"
242 branches_sharing_code = "allow"
243 checked_conversions = "warn"
244 collapsible_else_if = "allow"
245 create_dir = "warn"
246 dbg_macro = "warn"
247 debug_assert_with_mut_call = "warn"
248 doc_markdown = "warn"
249 empty_enum = "warn"
250 enum_glob_use = "warn"
251 expl_impl_clone_on_copy = "warn"
252 explicit_deref_methods = "warn"
253 explicit_into_iter_loop = "warn"
254 fallible_impl_from = "warn"
255 filter_map_next = "warn"
256 flat_map_option = "warn"
257 float_cmp_const = "warn"
258 fn_params_excessive_bools = "warn"
259 from_iter_instead_of_collect = "warn"
260 get_first = "allow"
261 if_same_then_else = "allow"
262 implicit_clone = "warn"
263 imprecise_flops = "warn"
264 inconsistent_struct_constructor = "warn"
265 inefficient_to_string = "warn"
266 infinite_loop = "warn"
267 invalid_upcast_comparisons = "warn"
268 large_digit_groups = "warn"
269 large_stack_arrays = "warn"
270 large_types_passed_by_value = "warn"
271 let_and_return = "allow"
272 linkedlist = "warn"
273 lossy_float_literal = "warn"
274 macro_use_imports = "warn"
275 mem_forget = "warn"
276 mutex_integer = "warn"
277 needless_bool = "allow"
278 needless_continue = "allow"
279 needless_for_each = "warn"
280 negative_feature_names = "warn"
281 path_buf_push_overwrite = "warn"
282 ptr_as_ptr = "warn"
283 rc_mutex = "warn"
284 redundant_feature_names = "warn"
285 ref_option_ref = "warn"
286 rest_pat_in_fully_bound_structs = "warn"
287 result_large_err = "allow"
288 same_functions_in_if_condition = "warn"
289 self_named_module_files = "warn"
290 semicolon_if_nothing_returned = "warn"
291 str_to_string = "warn"
292 string_add = "warn"
293 string_add_assign = "warn"
294 string_lit_as_bytes = "warn"
295 string_to_string = "warn"
296 todo = "warn"
297 trait_duplication_in_bounds = "warn"
298 uninlined_format_args = "warn"
299 use_self = "warn"
300 verbose_file_reads = "warn"
301 wildcard_imports = "warn"
302 zero_sized_map_values = "warn"
303
304 [lints.rust]
305 unnameable_types = "allow"
306 unreachable_pub = "warn"
307 unsafe_op_in_unsafe_fn = "warn"
308 unused_lifetimes = "warn"
309 unused_macro_rules = "warn"
310 unused_qualifications = "warn"
311
312 [lints.rust.rust_2018_idioms]
313 level = "warn"
314 priority = -1