Debian Codegraph @

debian/missing-sources/predicates/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.74"
15 name = "predicates"
16 version = "3.1.3"
17 authors = ["Nick Stevens <[email protected]>"]
18 build = false
19 include = [
20 "build.rs",
21 "src/**/*",
22 "Cargo.toml",
23 "LICENSE*",
24 "README.md",
25 "benches/**/*",
26 "examples/**/*",
27 ]
28 autolib = false
29 autobins = false
30 autoexamples = false
31 autotests = false
32 autobenches = false
33 description = "An implementation of boolean-valued predicate functions."
34 homepage = "https://github.com/assert-rs/predicates-rs"
35 documentation = "https://docs.rs/predicates"
36 readme = "README.md"
37 keywords = [
38 "predicate",
39 "boolean",
40 "combinatorial",
41 "match",
42 "logic",
43 ]
44 categories = [
45 "data-structures",
46 "rust-patterns",
47 ]
48 license = "MIT OR Apache-2.0"
49 repository = "https://github.com/assert-rs/predicates-rs"
50
51 [package.metadata.docs.rs]
52 all-features = true
53 rustdoc-args = [
54 "--cfg",
55 "docsrs",
56 "--generate-link-to-definition",
57 ]
58
59 [[package.metadata.release.pre-release-replacements]]
60 exactly = 1
61 file = "src/lib.rs"
62 replace = 'predicates = "{{version}}"'
63 search = 'predicates = ".*"'
64
65 [[package.metadata.release.pre-release-replacements]]
66 exactly = 1
67 file = "README.md"
68 replace = 'predicates = "{{version}}"'
69 search = 'predicates = ".*"'
70
71 [[package.metadata.release.pre-release-replacements]]
72 file = "CHANGELOG.md"
73 min = 1
74 replace = "{{version}}"
75 search = "Unreleased"
76
77 [[package.metadata.release.pre-release-replacements]]
78 exactly = 1
79 file = "CHANGELOG.md"
80 replace = "...{{tag_name}}"
81 search = '\.\.\.HEAD'
82
83 [[package.metadata.release.pre-release-replacements]]
84 file = "CHANGELOG.md"
85 min = 1
86 replace = "{{date}}"
87 search = "ReleaseDate"
88
89 [[package.metadata.release.pre-release-replacements]]
90 exactly = 1
91 file = "CHANGELOG.md"
92 replace = """
93 <!-- next-header -->
94 ## [Unreleased] - ReleaseDate
95 """
96 search = "<!-- next-header -->"
97
98 [[package.metadata.release.pre-release-replacements]]
99 exactly = 1
100 file = "CHANGELOG.md"
101 replace = """
102 <!-- next-url -->
103 [Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD"""
104 search = "<!-- next-url -->"
105
106 [features]
107 color = []
108 default = [
109 "diff",
110 "regex",
111 "float-cmp",
112 "normalize-line-endings",
113 "color",
114 ]
115 diff = ["dep:difflib"]
116 unstable = []
117
118 [lib]
119 name = "predicates"
120 path = "src/lib.rs"
121
122 [[example]]
123 name = "case_tree"
124 path = "examples/case_tree.rs"
125
126 [dependencies.anstyle]
127 version = "1.0.0"
128
129 [dependencies.difflib]
130 version = "0.4"
131 optional = true
132
133 [dependencies.float-cmp]
134 version = "0.10"
135 optional = true
136
137 [dependencies.normalize-line-endings]
138 version = "0.3.0"
139 optional = true
140
141 [dependencies.predicates-core]
142 version = "1.0"
143
144 [dependencies.regex]
145 version = "1.0"
146 optional = true
147
148 [dev-dependencies.predicates-tree]
149 version = "1.0"
150
151 [lints.clippy]
152 bool_assert_comparison = "allow"
153 branches_sharing_code = "allow"
154 checked_conversions = "warn"
155 collapsible_else_if = "allow"
156 create_dir = "warn"
157 dbg_macro = "warn"
158 debug_assert_with_mut_call = "warn"
159 doc_markdown = "warn"
160 empty_enum = "warn"
161 enum_glob_use = "warn"
162 expl_impl_clone_on_copy = "warn"
163 explicit_deref_methods = "warn"
164 explicit_into_iter_loop = "warn"
165 fallible_impl_from = "warn"
166 filter_map_next = "warn"
167 flat_map_option = "warn"
168 float_cmp_const = "warn"
169 fn_params_excessive_bools = "warn"
170 from_iter_instead_of_collect = "warn"
171 if_same_then_else = "allow"
172 implicit_clone = "warn"
173 imprecise_flops = "warn"
174 inconsistent_struct_constructor = "warn"
175 inefficient_to_string = "warn"
176 infinite_loop = "warn"
177 invalid_upcast_comparisons = "warn"
178 large_digit_groups = "warn"
179 large_stack_arrays = "warn"
180 large_types_passed_by_value = "warn"
181 let_and_return = "allow"
182 linkedlist = "warn"
183 lossy_float_literal = "warn"
184 macro_use_imports = "warn"
185 mem_forget = "warn"
186 mutex_integer = "warn"
187 needless_continue = "warn"
188 needless_for_each = "warn"
189 negative_feature_names = "warn"
190 path_buf_push_overwrite = "warn"
191 ptr_as_ptr = "warn"
192 rc_mutex = "warn"
193 redundant_feature_names = "warn"
194 ref_option_ref = "warn"
195 rest_pat_in_fully_bound_structs = "warn"
196 result_large_err = "allow"
197 same_functions_in_if_condition = "warn"
198 self_named_module_files = "warn"
199 semicolon_if_nothing_returned = "warn"
200 str_to_string = "warn"
201 string_add = "warn"
202 string_add_assign = "warn"
203 string_lit_as_bytes = "warn"
204 string_to_string = "warn"
205 todo = "warn"
206 trait_duplication_in_bounds = "warn"
207 uninlined_format_args = "warn"
208 verbose_file_reads = "warn"
209 wildcard_imports = "warn"
210 zero_sized_map_values = "warn"
211
212 [lints.rust]
213 unreachable_pub = "warn"
214 unsafe_op_in_unsafe_fn = "warn"
215 unused_lifetimes = "warn"
216 unused_macro_rules = "warn"
217 unused_qualifications = "warn"
218
219 [lints.rust.rust_2018_idioms]
220 level = "warn"
221 priority = -1