Debian Codegraph @

debian/rust-vendor/toml_edit/Cargo.toml

raw
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 = "2024"
14 rust-version = "1.85"
15 name = "toml_edit"
16 version = "0.25.13+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 = "Yet another format-preserving TOML parser."
33 readme = "README.md"
34 keywords = [
35 "encoding",
36 "toml",
37 ]
38 categories = [
39 "encoding",
40 "parser-implementations",
41 "parsing",
42 "config",
43 ]
44 license = "MIT OR Apache-2.0"
45 repository = "https://github.com/toml-rs/toml"
46
47 [package.metadata.docs.rs]
48 all-features = true
49 rustdoc-args = ["--generate-link-to-definition"]
50
51 [package.metadata.release]
52 tag-name = "v{{version}}"
53
54 [[package.metadata.release.pre-release-replacements]]
55 file = "CHANGELOG.md"
56 search = "Unreleased"
57 replace = "{{version}}"
58 min = 1
59
60 [[package.metadata.release.pre-release-replacements]]
61 file = "CHANGELOG.md"
62 search = '\.\.\.HEAD'
63 replace = "...{{tag_name}}"
64 exactly = 1
65
66 [[package.metadata.release.pre-release-replacements]]
67 file = "CHANGELOG.md"
68 search = "ReleaseDate"
69 replace = "{{date}}"
70 min = 1
71
72 [[package.metadata.release.pre-release-replacements]]
73 file = "CHANGELOG.md"
74 search = "<!-- next-header -->"
75 replace = """
76 <!-- next-header -->
77 ## [Unreleased] - ReleaseDate
78 """
79 exactly = 1
80
81 [[package.metadata.release.pre-release-replacements]]
82 file = "CHANGELOG.md"
83 search = "<!-- next-url -->"
84 replace = """
85 <!-- next-url -->
86 [Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD"""
87 exactly = 1
88
89 [features]
90 debug = [
91 "toml_parser?/debug",
92 "dep:anstream",
93 "dep:anstyle",
94 "display",
95 ]
96 default = [
97 "parse",
98 "display",
99 ]
100 display = ["dep:toml_writer"]
101 parse = [
102 "dep:toml_parser",
103 "dep:winnow",
104 ]
105 serde = [
106 "dep:serde_core",
107 "toml_datetime/serde",
108 "dep:serde_spanned",
109 ]
110 unbounded = []
111
112 [lib]
113 name = "toml_edit"
114 path = "src/lib.rs"
115
116 [[example]]
117 name = "visit"
118 path = "examples/visit.rs"
119 test = true
120 required-features = [
121 "parse",
122 "display",
123 ]
124
125 [dependencies.anstream]
126 version = "1.0.0"
127 optional = true
128
129 [dependencies.anstyle]
130 version = "1.0.14"
131 optional = true
132
133 [dependencies.indexmap]
134 version = "2.13.0"
135 features = ["std"]
136
137 [dependencies.serde_core]
138 version = "1.0.228"
139 optional = true
140
141 [dependencies.serde_spanned]
142 version = "1.1.1"
143 features = ["serde"]
144 optional = true
145
146 [dependencies.toml_datetime]
147 version = "1.1.1"
148
149 [dependencies.toml_parser]
150 version = "1.1.2"
151 optional = true
152
153 [dependencies.toml_writer]
154 version = "1.1.2"
155 optional = true
156
157 [dependencies.winnow]
158 version = "1.0.0"
159 optional = true
160
161 [dev-dependencies.proptest]
162 version = "1.10.0"
163
164 [dev-dependencies.serde]
165 version = "1.0.228"
166 features = ["derive"]
167
168 [dev-dependencies.serde-untagged]
169 version = "0.1.9"
170
171 [dev-dependencies.serde_json]
172 version = "1.0.149"
173
174 [dev-dependencies.snapbox]
175 version = "1.1.0"
176
177 [dev-dependencies.toml-test-data]
178 version = "2.13.0"
179
180 [dev-dependencies.toml-test-harness]
181 version = "1.13.0"
182 features = ["snapshot"]
183
184 [dev-dependencies.walkdir]
185 version = "2.5.0"
186
187 [lints.clippy]
188 bool_assert_comparison = "allow"
189 branches_sharing_code = "allow"
190 checked_conversions = "warn"
191 collapsible_else_if = "allow"
192 collapsible_match = "allow"
193 create_dir = "warn"
194 dbg_macro = "warn"
195 debug_assert_with_mut_call = "warn"
196 doc_markdown = "warn"
197 empty_enums = "warn"
198 enum_glob_use = "warn"
199 expl_impl_clone_on_copy = "warn"
200 explicit_deref_methods = "warn"
201 explicit_into_iter_loop = "warn"
202 fallible_impl_from = "warn"
203 filter_map_next = "warn"
204 flat_map_option = "warn"
205 float_cmp_const = "warn"
206 fn_params_excessive_bools = "warn"
207 from_iter_instead_of_collect = "warn"
208 get_first = "allow"
209 if_same_then_else = "allow"
210 implicit_clone = "warn"
211 imprecise_flops = "warn"
212 inconsistent_struct_constructor = "warn"
213 inefficient_to_string = "warn"
214 infinite_loop = "warn"
215 invalid_upcast_comparisons = "warn"
216 large_digit_groups = "warn"
217 large_stack_arrays = "warn"
218 large_types_passed_by_value = "warn"
219 let_and_return = "allow"
220 linkedlist = "warn"
221 lossy_float_literal = "warn"
222 macro_use_imports = "warn"
223 mem_forget = "warn"
224 mutex_integer = "warn"
225 needless_bool = "allow"
226 needless_continue = "allow"
227 needless_for_each = "warn"
228 negative_feature_names = "warn"
229 path_buf_push_overwrite = "warn"
230 ptr_as_ptr = "warn"
231 rc_mutex = "warn"
232 redundant_feature_names = "warn"
233 ref_option_ref = "warn"
234 rest_pat_in_fully_bound_structs = "warn"
235 result_large_err = "allow"
236 same_functions_in_if_condition = "warn"
237 self_named_module_files = "warn"
238 semicolon_if_nothing_returned = "warn"
239 str_to_string = "warn"
240 string_add = "warn"
241 string_add_assign = "warn"
242 string_lit_as_bytes = "warn"
243 todo = "warn"
244 trait_duplication_in_bounds = "warn"
245 uninlined_format_args = "warn"
246 use_self = "warn"
247 verbose_file_reads = "warn"
248 wildcard_imports = "warn"
249 zero_sized_map_values = "warn"
250
251 [lints.rust]
252 unnameable_types = "allow"
253 unreachable_pub = "warn"
254 unsafe_op_in_unsafe_fn = "warn"
255 unused_lifetimes = "warn"
256 unused_macro_rules = "warn"
257 unused_qualifications = "warn"
258
259 [lints.rust.rust_2018_idioms]
260 level = "warn"
261 priority = -1