Debian Codegraph @

debian/rust-vendor/anstyle-wincon/Cargo.toml

raw
1 [dependencies.anstyle]
2 version = "1.0.0"
3
4 [dev-dependencies.lexopt]
5 version = "0.3.1"
6
7 [lib]
8 path = "src/lib.rs"
9
10 [lints.clippy]
11 bool_assert_comparison = "allow"
12 branches_sharing_code = "allow"
13 checked_conversions = "warn"
14 collapsible_else_if = "allow"
15 create_dir = "warn"
16 dbg_macro = "warn"
17 debug_assert_with_mut_call = "warn"
18 doc_markdown = "warn"
19 empty_enum = "warn"
20 enum_glob_use = "warn"
21 expl_impl_clone_on_copy = "warn"
22 explicit_deref_methods = "warn"
23 explicit_into_iter_loop = "warn"
24 fallible_impl_from = "warn"
25 filter_map_next = "warn"
26 flat_map_option = "warn"
27 float_cmp_const = "warn"
28 fn_params_excessive_bools = "warn"
29 from_iter_instead_of_collect = "warn"
30 if_same_then_else = "allow"
31 implicit_clone = "warn"
32 imprecise_flops = "warn"
33 inconsistent_struct_constructor = "warn"
34 inefficient_to_string = "warn"
35 infinite_loop = "warn"
36 invalid_upcast_comparisons = "warn"
37 large_digit_groups = "warn"
38 large_stack_arrays = "warn"
39 large_types_passed_by_value = "warn"
40 let_and_return = "allow"
41 linkedlist = "warn"
42 lossy_float_literal = "warn"
43 macro_use_imports = "warn"
44 mem_forget = "warn"
45 mutex_integer = "warn"
46 needless_continue = "allow"
47 needless_for_each = "warn"
48 negative_feature_names = "warn"
49 path_buf_push_overwrite = "warn"
50 ptr_as_ptr = "warn"
51 rc_mutex = "warn"
52 redundant_feature_names = "warn"
53 ref_option_ref = "warn"
54 rest_pat_in_fully_bound_structs = "warn"
55 result_large_err = "allow"
56 same_functions_in_if_condition = "warn"
57 self_named_module_files = "warn"
58 semicolon_if_nothing_returned = "warn"
59 str_to_string = "warn"
60 string_add = "warn"
61 string_add_assign = "warn"
62 string_lit_as_bytes = "warn"
63 todo = "warn"
64 trait_duplication_in_bounds = "warn"
65 uninlined_format_args = "warn"
66 verbose_file_reads = "warn"
67 wildcard_imports = "warn"
68 zero_sized_map_values = "warn"
69
70 [lints.rust]
71 unnameable_types = "warn"
72 unreachable_pub = "warn"
73 unsafe_op_in_unsafe_fn = "warn"
74 unused_lifetimes = "warn"
75 unused_macro_rules = "warn"
76 unused_qualifications = "warn"
77
78 [lints.rust.rust_2018_idioms]
79 level = "warn"
80 priority = -1
81
82 [package]
83 autobenches = false
84 autobins = false
85 autoexamples = false
86 autolib = false
87 autotests = false
88 categories = ["command-line-interface"]
89 description = "Styling legacy Windows terminals"
90 edition = "2021"
91 include = ["build.rs", "src/**/*", "Cargo.toml", "Cargo.lock", "LICENSE*", "README.md", "examples/**/*"]
92 keywords = ["ansi", "terminal", "color", "windows"]
93 license = "MIT OR Apache-2.0"
94 name = "anstyle-wincon"
95 readme = "README.md"
96 repository = "https://github.com/rust-cli/anstyle.git"
97 rust-version = "1.66.0"
98 version = "3.0.11"
99
100 [package.metadata.docs.rs]
101 all-features = true
102 rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
103 targets = ["x86_64-pc-windows-msvc"]
104
105 [[package.metadata.release.pre-release-replacements]]
106 file = "CHANGELOG.md"
107 min = 1
108 replace = "{{version}}"
109 search = "Unreleased"
110
111 [[package.metadata.release.pre-release-replacements]]
112 exactly = 1
113 file = "CHANGELOG.md"
114 replace = "...{{tag_name}}"
115 search = '\.\.\.HEAD'
116
117 [[package.metadata.release.pre-release-replacements]]
118 file = "CHANGELOG.md"
119 min = 1
120 replace = "{{date}}"
121 search = "ReleaseDate"
122
123 [[package.metadata.release.pre-release-replacements]]
124 exactly = 1
125 file = "CHANGELOG.md"
126 replace = """
127 <!-- next-header -->
128 ## [Unreleased] - ReleaseDate
129 """
130 search = "<!-- next-header -->"
131
132 [[package.metadata.release.pre-release-replacements]]
133 exactly = 1
134 file = "CHANGELOG.md"
135 replace = """
136 <!-- next-url -->
137 [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
138 search = "<!-- next-url -->"
139
140 [target."cfg(windows)".dependencies.once_cell_polyfill]
141 version = "1.56.1"
142
143 [target."cfg(windows)".dependencies.windows-sys]
144 features = ["Win32_System_Console", "Win32_Foundation"]
145 version = ">=0.60.2, <0.62"