| 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 = "imperative" |
| 16 |
version = "1.0.7" |
| 17 |
authors = ["Ed Page <[email protected]>"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"build.rs", |
| 21 |
"src/**/*", |
| 22 |
"Cargo.toml", |
| 23 |
"Cargo.lock", |
| 24 |
"LICENSE*", |
| 25 |
"README.md", |
| 26 |
"examples/**/*", |
| 27 |
] |
| 28 |
autolib = false |
| 29 |
autobins = false |
| 30 |
autoexamples = false |
| 31 |
autotests = false |
| 32 |
autobenches = false |
| 33 |
description = "Check for imperative mood in text" |
| 34 |
documentation = "https://docs.rs/imperative" |
| 35 |
readme = "README.md" |
| 36 |
categories = ["text-processing"] |
| 37 |
license = "MIT OR Apache-2.0" |
| 38 |
repository = "https://github.com/crate-ci/imperative" |
| 39 |
|
| 40 |
[package.metadata.docs.rs] |
| 41 |
all-features = true |
| 42 |
rustdoc-args = ["--generate-link-to-definition"] |
| 43 |
|
| 44 |
[[package.metadata.release.pre-release-replacements]] |
| 45 |
file = "CHANGELOG.md" |
| 46 |
search = "Unreleased" |
| 47 |
replace = "{{version}}" |
| 48 |
min = 1 |
| 49 |
|
| 50 |
[[package.metadata.release.pre-release-replacements]] |
| 51 |
file = "CHANGELOG.md" |
| 52 |
search = '\.\.\.HEAD' |
| 53 |
replace = "...{{tag_name}}" |
| 54 |
exactly = 1 |
| 55 |
|
| 56 |
[[package.metadata.release.pre-release-replacements]] |
| 57 |
file = "CHANGELOG.md" |
| 58 |
search = "ReleaseDate" |
| 59 |
replace = "{{date}}" |
| 60 |
min = 1 |
| 61 |
|
| 62 |
[[package.metadata.release.pre-release-replacements]] |
| 63 |
file = "CHANGELOG.md" |
| 64 |
search = "<!-- next-header -->" |
| 65 |
replace = """ |
| 66 |
<!-- next-header --> |
| 67 |
## [Unreleased] - ReleaseDate |
| 68 |
""" |
| 69 |
exactly = 1 |
| 70 |
|
| 71 |
[[package.metadata.release.pre-release-replacements]] |
| 72 |
file = "CHANGELOG.md" |
| 73 |
search = "<!-- next-url -->" |
| 74 |
replace = """ |
| 75 |
<!-- next-url --> |
| 76 |
[Unreleased]: https://github.com/crate-ci/imperative/compare/{{tag_name}}...HEAD""" |
| 77 |
exactly = 1 |
| 78 |
|
| 79 |
[lib] |
| 80 |
name = "imperative" |
| 81 |
path = "src/lib.rs" |
| 82 |
|
| 83 |
[dependencies.phf] |
| 84 |
version = "0.13" |
| 85 |
|
| 86 |
[dependencies.rust-stemmers] |
| 87 |
version = "1.2.0" |
| 88 |
|
| 89 |
[dev-dependencies.automod] |
| 90 |
version = "1.0.15" |
| 91 |
|
| 92 |
[dev-dependencies.codegenrs] |
| 93 |
version = "3.0" |
| 94 |
|
| 95 |
[dev-dependencies.multimap] |
| 96 |
version = "0.10.1" |
| 97 |
|
| 98 |
[dev-dependencies.phf_codegen] |
| 99 |
version = "0.13" |
| 100 |
|
| 101 |
[dev-dependencies.rust-stemmers] |
| 102 |
version = "1.2.0" |
| 103 |
|
| 104 |
[dev-dependencies.snapbox] |
| 105 |
version = "0.6.21" |
| 106 |
|
| 107 |
[lints.clippy] |
| 108 |
bool_assert_comparison = "allow" |
| 109 |
branches_sharing_code = "allow" |
| 110 |
checked_conversions = "warn" |
| 111 |
collapsible_else_if = "allow" |
| 112 |
create_dir = "warn" |
| 113 |
dbg_macro = "warn" |
| 114 |
debug_assert_with_mut_call = "warn" |
| 115 |
doc_markdown = "warn" |
| 116 |
empty_enum = "warn" |
| 117 |
enum_glob_use = "warn" |
| 118 |
expl_impl_clone_on_copy = "warn" |
| 119 |
explicit_deref_methods = "warn" |
| 120 |
explicit_into_iter_loop = "warn" |
| 121 |
fallible_impl_from = "warn" |
| 122 |
filter_map_next = "warn" |
| 123 |
flat_map_option = "warn" |
| 124 |
float_cmp_const = "warn" |
| 125 |
fn_params_excessive_bools = "warn" |
| 126 |
from_iter_instead_of_collect = "warn" |
| 127 |
if_same_then_else = "allow" |
| 128 |
implicit_clone = "warn" |
| 129 |
imprecise_flops = "warn" |
| 130 |
inconsistent_struct_constructor = "warn" |
| 131 |
inefficient_to_string = "warn" |
| 132 |
infinite_loop = "warn" |
| 133 |
invalid_upcast_comparisons = "warn" |
| 134 |
large_digit_groups = "warn" |
| 135 |
large_stack_arrays = "warn" |
| 136 |
large_types_passed_by_value = "warn" |
| 137 |
let_and_return = "allow" |
| 138 |
linkedlist = "warn" |
| 139 |
lossy_float_literal = "warn" |
| 140 |
macro_use_imports = "warn" |
| 141 |
mem_forget = "warn" |
| 142 |
mutex_integer = "warn" |
| 143 |
needless_continue = "allow" |
| 144 |
needless_for_each = "warn" |
| 145 |
negative_feature_names = "warn" |
| 146 |
path_buf_push_overwrite = "warn" |
| 147 |
ptr_as_ptr = "warn" |
| 148 |
rc_mutex = "warn" |
| 149 |
redundant_feature_names = "warn" |
| 150 |
ref_option_ref = "warn" |
| 151 |
rest_pat_in_fully_bound_structs = "warn" |
| 152 |
result_large_err = "allow" |
| 153 |
same_functions_in_if_condition = "warn" |
| 154 |
self_named_module_files = "warn" |
| 155 |
semicolon_if_nothing_returned = "warn" |
| 156 |
str_to_string = "warn" |
| 157 |
string_add = "warn" |
| 158 |
string_add_assign = "warn" |
| 159 |
string_lit_as_bytes = "warn" |
| 160 |
string_to_string = "warn" |
| 161 |
todo = "warn" |
| 162 |
trait_duplication_in_bounds = "warn" |
| 163 |
uninlined_format_args = "warn" |
| 164 |
verbose_file_reads = "warn" |
| 165 |
wildcard_imports = "warn" |
| 166 |
zero_sized_map_values = "warn" |
| 167 |
|
| 168 |
[lints.rust] |
| 169 |
unnameable_types = "warn" |
| 170 |
unreachable_pub = "warn" |
| 171 |
unsafe_op_in_unsafe_fn = "warn" |
| 172 |
unused_lifetimes = "warn" |
| 173 |
unused_macro_rules = "warn" |
| 174 |
unused_qualifications = "warn" |
| 175 |
|
| 176 |
[lints.rust.rust_2018_idioms] |
| 177 |
level = "warn" |
| 178 |
priority = -1 |
| 179 |
|
| 180 |
[profile.dev] |
| 181 |
panic = "abort" |
| 182 |
|
| 183 |
[profile.release] |
| 184 |
lto = true |
| 185 |
codegen-units = 1 |
| 186 |
panic = "abort" |