Debian Codegraph @

debian/missing-sources/assert_cmd/Cargo.toml.orig

raw
1 [workspace]
2 resolver = "2"
3
4 [workspace.package]
5 repository = "https://github.com/assert-rs/assert_cmd.git"
6 license = "MIT OR Apache-2.0"
7 edition = "2021"
8 rust-version = "1.74" # MSRV
9 include = [
10 "build.rs",
11 "src/**/*",
12 "Cargo.toml",
13 "Cargo.lock",
14 "LICENSE*",
15 "README.md",
16 "examples/**/*"
17 ]
18
19 [workspace.lints.rust]
20 rust_2018_idioms = { level = "warn", priority = -1 }
21 unnameable_types = "warn"
22 unreachable_pub = "warn"
23 unsafe_op_in_unsafe_fn = "warn"
24 unused_lifetimes = "warn"
25 unused_macro_rules = "warn"
26 unused_qualifications = "warn"
27
28 [workspace.lints.clippy]
29 bool_assert_comparison = "allow"
30 branches_sharing_code = "allow"
31 checked_conversions = "warn"
32 collapsible_else_if = "allow"
33 create_dir = "warn"
34 dbg_macro = "warn"
35 debug_assert_with_mut_call = "warn"
36 doc_markdown = "warn"
37 empty_enum = "warn"
38 enum_glob_use = "warn"
39 expl_impl_clone_on_copy = "warn"
40 explicit_deref_methods = "warn"
41 explicit_into_iter_loop = "warn"
42 fallible_impl_from = "warn"
43 filter_map_next = "warn"
44 flat_map_option = "warn"
45 float_cmp_const = "warn"
46 fn_params_excessive_bools = "warn"
47 from_iter_instead_of_collect = "warn"
48 if_same_then_else = "allow"
49 implicit_clone = "warn"
50 imprecise_flops = "warn"
51 inconsistent_struct_constructor = "warn"
52 inefficient_to_string = "warn"
53 infinite_loop = "warn"
54 invalid_upcast_comparisons = "warn"
55 large_digit_groups = "warn"
56 large_stack_arrays = "warn"
57 large_types_passed_by_value = "warn"
58 let_and_return = "allow" # sometimes good to name what you are returning
59 linkedlist = "warn"
60 lossy_float_literal = "warn"
61 macro_use_imports = "warn"
62 mem_forget = "warn"
63 mutex_integer = "warn"
64 needless_continue = "allow"
65 needless_for_each = "warn"
66 negative_feature_names = "warn"
67 path_buf_push_overwrite = "warn"
68 ptr_as_ptr = "warn"
69 rc_mutex = "warn"
70 redundant_feature_names = "warn"
71 ref_option_ref = "warn"
72 rest_pat_in_fully_bound_structs = "warn"
73 result_large_err = "allow"
74 same_functions_in_if_condition = "warn"
75 self_named_module_files = "warn"
76 semicolon_if_nothing_returned = "warn"
77 str_to_string = "warn"
78 string_add = "warn"
79 string_add_assign = "warn"
80 string_lit_as_bytes = "warn"
81 string_to_string = "warn"
82 todo = "warn"
83 trait_duplication_in_bounds = "warn"
84 uninlined_format_args = "warn"
85 verbose_file_reads = "warn"
86 wildcard_imports = "warn"
87 zero_sized_map_values = "warn"
88
89 [profile.dev]
90 panic = "abort"
91
92 [profile.release]
93 panic = "abort"
94 codegen-units = 1
95 lto = true
96 # debug = "line-tables-only" # requires Cargo 1.71
97
98 [package]
99 name = "assert_cmd"
100 version = "2.1.2"
101 description = "Test CLI Applications."
102 authors = ["Pascal Hertleif <[email protected]>", "Ed Page <[email protected]>"]
103 homepage = "https://github.com/assert-rs/assert_cmd"
104 documentation = "http://docs.rs/assert_cmd/"
105 readme = "README.md"
106 categories = ["development-tools::testing"]
107 keywords = ["cli", "test", "assert", "command", "duct"]
108 repository.workspace = true
109 license.workspace = true
110 edition.workspace = true
111 rust-version.workspace = true
112 include.workspace = true
113
114 [package.metadata.docs.rs]
115 all-features = true
116 rustdoc-args = ["--generate-link-to-definition"]
117
118 [package.metadata.release]
119 pre-release-replacements = [
120 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
121 {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
122 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
123 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
124 {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/assert_cmd/compare/{{tag_name}}...HEAD", exactly=1},
125 ]
126
127 [features]
128 color = ["dep:anstream", "predicates/color"]
129 color-auto = ["color"]
130
131 [[bin]]
132 name = "bin_fixture"
133
134 [dependencies]
135 predicates = { version = "3.0.1", default-features = false, features = ["diff"] }
136 predicates-core = "1.0.6"
137 predicates-tree = "1.0.1"
138 wait-timeout = "0.2.0"
139 bstr = "1.0.1"
140 anstream = { version = "0.6.7", optional = true }
141 anstyle = "1.0.0"
142
143 [target.'cfg(any())'.dependencies]
144 libc = "0.2.137" # HACK: bad minimal dep in wait-timeout
145
146 [dev-dependencies]
147 escargot = "0.5"
148 automod = "1.0.14"
149
150 [lints]
151 workspace = true