| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.74" |
| 15 |
name = "assert_cmd" |
| 16 |
version = "2.1.2" |
| 17 |
authors = [ |
| 18 |
"Pascal Hertleif <[email protected]>", |
| 19 |
"Ed Page <[email protected]>", |
| 20 |
] |
| 21 |
build = "build.rs" |
| 22 |
include = [ |
| 23 |
"build.rs", |
| 24 |
"src/**/*", |
| 25 |
"Cargo.toml", |
| 26 |
"Cargo.lock", |
| 27 |
"LICENSE*", |
| 28 |
"README.md", |
| 29 |
"examples/**/*", |
| 30 |
] |
| 31 |
autolib = false |
| 32 |
autobins = false |
| 33 |
autoexamples = false |
| 34 |
autotests = false |
| 35 |
autobenches = false |
| 36 |
description = "Test CLI Applications." |
| 37 |
homepage = "https://github.com/assert-rs/assert_cmd" |
| 38 |
documentation = "http://docs.rs/assert_cmd/" |
| 39 |
readme = "README.md" |
| 40 |
keywords = [ |
| 41 |
"cli", |
| 42 |
"test", |
| 43 |
"assert", |
| 44 |
"command", |
| 45 |
"duct", |
| 46 |
] |
| 47 |
categories = ["development-tools::testing"] |
| 48 |
license = "MIT OR Apache-2.0" |
| 49 |
repository = "https://github.com/assert-rs/assert_cmd.git" |
| 50 |
|
| 51 |
[package.metadata.docs.rs] |
| 52 |
all-features = true |
| 53 |
rustdoc-args = ["--generate-link-to-definition"] |
| 54 |
|
| 55 |
[[package.metadata.release.pre-release-replacements]] |
| 56 |
file = "CHANGELOG.md" |
| 57 |
search = "Unreleased" |
| 58 |
replace = "{{version}}" |
| 59 |
min = 1 |
| 60 |
|
| 61 |
[[package.metadata.release.pre-release-replacements]] |
| 62 |
file = "CHANGELOG.md" |
| 63 |
search = '\.\.\.HEAD' |
| 64 |
replace = "...{{tag_name}}" |
| 65 |
exactly = 1 |
| 66 |
|
| 67 |
[[package.metadata.release.pre-release-replacements]] |
| 68 |
file = "CHANGELOG.md" |
| 69 |
search = "ReleaseDate" |
| 70 |
replace = "{{date}}" |
| 71 |
min = 1 |
| 72 |
|
| 73 |
[[package.metadata.release.pre-release-replacements]] |
| 74 |
file = "CHANGELOG.md" |
| 75 |
search = "<!-- next-header -->" |
| 76 |
replace = """ |
| 77 |
<!-- next-header --> |
| 78 |
## [Unreleased] - ReleaseDate |
| 79 |
""" |
| 80 |
exactly = 1 |
| 81 |
|
| 82 |
[[package.metadata.release.pre-release-replacements]] |
| 83 |
file = "CHANGELOG.md" |
| 84 |
search = "<!-- next-url -->" |
| 85 |
replace = """ |
| 86 |
<!-- next-url --> |
| 87 |
[Unreleased]: https://github.com/assert-rs/assert_cmd/compare/{{tag_name}}...HEAD""" |
| 88 |
exactly = 1 |
| 89 |
|
| 90 |
[features] |
| 91 |
color = [ |
| 92 |
"dep:anstream", |
| 93 |
"predicates/color", |
| 94 |
] |
| 95 |
color-auto = ["color"] |
| 96 |
|
| 97 |
[lib] |
| 98 |
name = "assert_cmd" |
| 99 |
path = "src/lib.rs" |
| 100 |
|
| 101 |
[[bin]] |
| 102 |
name = "bin_fixture" |
| 103 |
path = "src/bin/bin_fixture.rs" |
| 104 |
|
| 105 |
[[example]] |
| 106 |
name = "example_fixture" |
| 107 |
path = "examples/example_fixture.rs" |
| 108 |
|
| 109 |
[[example]] |
| 110 |
name = "failure" |
| 111 |
path = "examples/failure.rs" |
| 112 |
|
| 113 |
[dependencies.anstream] |
| 114 |
version = "0.6.7" |
| 115 |
optional = true |
| 116 |
|
| 117 |
[dependencies.anstyle] |
| 118 |
version = "1.0.0" |
| 119 |
|
| 120 |
[dependencies.bstr] |
| 121 |
version = "1.0.1" |
| 122 |
|
| 123 |
[dependencies.predicates] |
| 124 |
version = "3.0.1" |
| 125 |
features = ["diff"] |
| 126 |
default-features = false |
| 127 |
|
| 128 |
[dependencies.predicates-core] |
| 129 |
version = "1.0.6" |
| 130 |
|
| 131 |
[dependencies.predicates-tree] |
| 132 |
version = "1.0.1" |
| 133 |
|
| 134 |
[dependencies.wait-timeout] |
| 135 |
version = "0.2.0" |
| 136 |
|
| 137 |
[dev-dependencies.automod] |
| 138 |
version = "1.0.14" |
| 139 |
|
| 140 |
[dev-dependencies.escargot] |
| 141 |
version = "0.5" |
| 142 |
|
| 143 |
[target."cfg(any())".dependencies.libc] |
| 144 |
version = "0.2.137" |
| 145 |
|
| 146 |
[lints.clippy] |
| 147 |
bool_assert_comparison = "allow" |
| 148 |
branches_sharing_code = "allow" |
| 149 |
checked_conversions = "warn" |
| 150 |
collapsible_else_if = "allow" |
| 151 |
create_dir = "warn" |
| 152 |
dbg_macro = "warn" |
| 153 |
debug_assert_with_mut_call = "warn" |
| 154 |
doc_markdown = "warn" |
| 155 |
empty_enum = "warn" |
| 156 |
enum_glob_use = "warn" |
| 157 |
expl_impl_clone_on_copy = "warn" |
| 158 |
explicit_deref_methods = "warn" |
| 159 |
explicit_into_iter_loop = "warn" |
| 160 |
fallible_impl_from = "warn" |
| 161 |
filter_map_next = "warn" |
| 162 |
flat_map_option = "warn" |
| 163 |
float_cmp_const = "warn" |
| 164 |
fn_params_excessive_bools = "warn" |
| 165 |
from_iter_instead_of_collect = "warn" |
| 166 |
if_same_then_else = "allow" |
| 167 |
implicit_clone = "warn" |
| 168 |
imprecise_flops = "warn" |
| 169 |
inconsistent_struct_constructor = "warn" |
| 170 |
inefficient_to_string = "warn" |
| 171 |
infinite_loop = "warn" |
| 172 |
invalid_upcast_comparisons = "warn" |
| 173 |
large_digit_groups = "warn" |
| 174 |
large_stack_arrays = "warn" |
| 175 |
large_types_passed_by_value = "warn" |
| 176 |
let_and_return = "allow" |
| 177 |
linkedlist = "warn" |
| 178 |
lossy_float_literal = "warn" |
| 179 |
macro_use_imports = "warn" |
| 180 |
mem_forget = "warn" |
| 181 |
mutex_integer = "warn" |
| 182 |
needless_continue = "allow" |
| 183 |
needless_for_each = "warn" |
| 184 |
negative_feature_names = "warn" |
| 185 |
path_buf_push_overwrite = "warn" |
| 186 |
ptr_as_ptr = "warn" |
| 187 |
rc_mutex = "warn" |
| 188 |
redundant_feature_names = "warn" |
| 189 |
ref_option_ref = "warn" |
| 190 |
rest_pat_in_fully_bound_structs = "warn" |
| 191 |
result_large_err = "allow" |
| 192 |
same_functions_in_if_condition = "warn" |
| 193 |
self_named_module_files = "warn" |
| 194 |
semicolon_if_nothing_returned = "warn" |
| 195 |
str_to_string = "warn" |
| 196 |
string_add = "warn" |
| 197 |
string_add_assign = "warn" |
| 198 |
string_lit_as_bytes = "warn" |
| 199 |
string_to_string = "warn" |
| 200 |
todo = "warn" |
| 201 |
trait_duplication_in_bounds = "warn" |
| 202 |
uninlined_format_args = "warn" |
| 203 |
verbose_file_reads = "warn" |
| 204 |
wildcard_imports = "warn" |
| 205 |
zero_sized_map_values = "warn" |
| 206 |
|
| 207 |
[lints.rust] |
| 208 |
unnameable_types = "warn" |
| 209 |
unreachable_pub = "warn" |
| 210 |
unsafe_op_in_unsafe_fn = "warn" |
| 211 |
unused_lifetimes = "warn" |
| 212 |
unused_macro_rules = "warn" |
| 213 |
unused_qualifications = "warn" |
| 214 |
|
| 215 |
[lints.rust.rust_2018_idioms] |
| 216 |
level = "warn" |
| 217 |
priority = -1 |
| 218 |
|
| 219 |
[profile.dev] |
| 220 |
panic = "abort" |
| 221 |
|
| 222 |
[profile.release] |
| 223 |
lto = true |
| 224 |
codegen-units = 1 |
| 225 |
panic = "abort" |