Debian Codegraph @

debian/rust-vendor/toml_parser/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_parser"
16 version = "1.1.3+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 "no_std",
38 ]
39 categories = [
40 "encoding",
41 "parser-implementations",
42 "parsing",
43 "config",
44 ]
45 license = "MIT OR Apache-2.0"
46 repository = "https://github.com/toml-rs/toml"
47
48 [package.metadata.docs.rs]
49 all-features = true
50 rustdoc-args = ["--generate-link-to-definition"]
51
52 [[package.metadata.release.pre-release-replacements]]
53 file = "CHANGELOG.md"
54 search = "Unreleased"
55 replace = "{{version}}"
56 min = 1
57
58 [[package.metadata.release.pre-release-replacements]]
59 file = "CHANGELOG.md"
60 search = '\.\.\.HEAD'
61 replace = "...{{tag_name}}"
62 exactly = 1
63
64 [[package.metadata.release.pre-release-replacements]]
65 file = "CHANGELOG.md"
66 search = "ReleaseDate"
67 replace = "{{date}}"
68 min = 1
69
70 [[package.metadata.release.pre-release-replacements]]
71 file = "CHANGELOG.md"
72 search = "<!-- next-header -->"
73 replace = """
74 <!-- next-header -->
75 ## [Unreleased] - ReleaseDate
76 """
77 exactly = 1
78
79 [[package.metadata.release.pre-release-replacements]]
80 file = "CHANGELOG.md"
81 search = "<!-- next-url -->"
82 replace = """
83 <!-- next-url -->
84 [Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD"""
85 exactly = 1
86
87 [features]
88 alloc = []
89 debug = [
90 "std",
91 "dep:anstream",
92 "dep:anstyle",
93 ]
94 default = ["std"]
95 simd = ["winnow/simd"]
96 std = ["alloc"]
97 unsafe = []
98
99 [lib]
100 name = "toml_parser"
101 path = "src/lib.rs"
102
103 [dependencies.anstream]
104 version = "1.0.0"
105 optional = true
106
107 [dependencies.anstyle]
108 version = "1.0.14"
109 optional = true
110
111 [dependencies.winnow]
112 version = "1.0.0"
113 default-features = false
114
115 [dev-dependencies.anstream]
116 version = "1.0.0"
117 features = ["test"]
118
119 [dev-dependencies.snapbox]
120 version = "1.1.0"
121
122 [lints.clippy]
123 bool_assert_comparison = "allow"
124 branches_sharing_code = "allow"
125 checked_conversions = "warn"
126 collapsible_else_if = "allow"
127 collapsible_match = "allow"
128 create_dir = "warn"
129 dbg_macro = "warn"
130 debug_assert_with_mut_call = "warn"
131 doc_markdown = "warn"
132 empty_enums = "warn"
133 enum_glob_use = "warn"
134 expl_impl_clone_on_copy = "warn"
135 explicit_deref_methods = "warn"
136 explicit_into_iter_loop = "warn"
137 fallible_impl_from = "warn"
138 filter_map_next = "warn"
139 flat_map_option = "warn"
140 float_cmp_const = "warn"
141 fn_params_excessive_bools = "warn"
142 from_iter_instead_of_collect = "warn"
143 get_first = "allow"
144 if_same_then_else = "allow"
145 implicit_clone = "warn"
146 imprecise_flops = "warn"
147 inconsistent_struct_constructor = "warn"
148 inefficient_to_string = "warn"
149 infinite_loop = "warn"
150 invalid_upcast_comparisons = "warn"
151 large_digit_groups = "warn"
152 large_stack_arrays = "warn"
153 large_types_passed_by_value = "warn"
154 let_and_return = "allow"
155 linkedlist = "warn"
156 lossy_float_literal = "warn"
157 macro_use_imports = "warn"
158 mem_forget = "warn"
159 mutex_integer = "warn"
160 needless_bool = "allow"
161 needless_continue = "allow"
162 needless_for_each = "warn"
163 negative_feature_names = "warn"
164 path_buf_push_overwrite = "warn"
165 ptr_as_ptr = "warn"
166 rc_mutex = "warn"
167 redundant_feature_names = "warn"
168 ref_option_ref = "warn"
169 rest_pat_in_fully_bound_structs = "warn"
170 result_large_err = "allow"
171 same_functions_in_if_condition = "warn"
172 self_named_module_files = "warn"
173 semicolon_if_nothing_returned = "warn"
174 str_to_string = "warn"
175 string_add = "warn"
176 string_add_assign = "warn"
177 string_lit_as_bytes = "warn"
178 todo = "warn"
179 trait_duplication_in_bounds = "warn"
180 uninlined_format_args = "warn"
181 use_self = "warn"
182 verbose_file_reads = "warn"
183 wildcard_imports = "warn"
184 zero_sized_map_values = "warn"
185
186 [lints.rust]
187 unnameable_types = "allow"
188 unreachable_pub = "warn"
189 unsafe_op_in_unsafe_fn = "warn"
190 unused_lifetimes = "warn"
191 unused_macro_rules = "warn"
192 unused_qualifications = "warn"
193
194 [lints.rust.rust_2018_idioms]
195 level = "warn"
196 priority = -1