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