Debian Codegraph @

debian/missing-sources/colorchoice/Cargo.toml

raw symbols SCIP
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.66.0"
15 name = "colorchoice"
16 version = "1.0.4"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "Cargo.lock",
23 "LICENSE*",
24 "README.md",
25 "examples/**/*",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = "Global override of color control"
33 readme = "README.md"
34 keywords = [
35 "cli",
36 "color",
37 "no-std",
38 "terminal",
39 "ansi",
40 ]
41 categories = ["command-line-interface"]
42 license = "MIT OR Apache-2.0"
43 repository = "https://github.com/rust-cli/anstyle.git"
44
45 [package.metadata.docs.rs]
46 all-features = true
47 rustdoc-args = [
48 "--cfg",
49 "docsrs",
50 "--generate-link-to-definition",
51 ]
52
53 [[package.metadata.release.pre-release-replacements]]
54 file = "CHANGELOG.md"
55 min = 1
56 replace = "{{version}}"
57 search = "Unreleased"
58
59 [[package.metadata.release.pre-release-replacements]]
60 exactly = 1
61 file = "CHANGELOG.md"
62 replace = "...{{tag_name}}"
63 search = '\.\.\.HEAD'
64
65 [[package.metadata.release.pre-release-replacements]]
66 file = "CHANGELOG.md"
67 min = 1
68 replace = "{{date}}"
69 search = "ReleaseDate"
70
71 [[package.metadata.release.pre-release-replacements]]
72 exactly = 1
73 file = "CHANGELOG.md"
74 replace = """
75 <!-- next-header -->
76 ## [Unreleased] - ReleaseDate
77 """
78 search = "<!-- next-header -->"
79
80 [[package.metadata.release.pre-release-replacements]]
81 exactly = 1
82 file = "CHANGELOG.md"
83 replace = """
84 <!-- next-url -->
85 [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD"""
86 search = "<!-- next-url -->"
87
88 [lib]
89 name = "colorchoice"
90 path = "src/lib.rs"
91
92 [lints.clippy]
93 bool_assert_comparison = "allow"
94 branches_sharing_code = "allow"
95 checked_conversions = "warn"
96 collapsible_else_if = "allow"
97 create_dir = "warn"
98 dbg_macro = "warn"
99 debug_assert_with_mut_call = "warn"
100 doc_markdown = "warn"
101 empty_enum = "warn"
102 enum_glob_use = "warn"
103 expl_impl_clone_on_copy = "warn"
104 explicit_deref_methods = "warn"
105 explicit_into_iter_loop = "warn"
106 fallible_impl_from = "warn"
107 filter_map_next = "warn"
108 flat_map_option = "warn"
109 float_cmp_const = "warn"
110 fn_params_excessive_bools = "warn"
111 from_iter_instead_of_collect = "warn"
112 if_same_then_else = "allow"
113 implicit_clone = "warn"
114 imprecise_flops = "warn"
115 inconsistent_struct_constructor = "warn"
116 inefficient_to_string = "warn"
117 infinite_loop = "warn"
118 invalid_upcast_comparisons = "warn"
119 large_digit_groups = "warn"
120 large_stack_arrays = "warn"
121 large_types_passed_by_value = "warn"
122 let_and_return = "allow"
123 linkedlist = "warn"
124 lossy_float_literal = "warn"
125 macro_use_imports = "warn"
126 mem_forget = "warn"
127 mutex_integer = "warn"
128 needless_continue = "allow"
129 needless_for_each = "warn"
130 negative_feature_names = "warn"
131 path_buf_push_overwrite = "warn"
132 ptr_as_ptr = "warn"
133 rc_mutex = "warn"
134 redundant_feature_names = "warn"
135 ref_option_ref = "warn"
136 rest_pat_in_fully_bound_structs = "warn"
137 result_large_err = "allow"
138 same_functions_in_if_condition = "warn"
139 self_named_module_files = "warn"
140 semicolon_if_nothing_returned = "warn"
141 str_to_string = "warn"
142 string_add = "warn"
143 string_add_assign = "warn"
144 string_lit_as_bytes = "warn"
145 string_to_string = "warn"
146 todo = "warn"
147 trait_duplication_in_bounds = "warn"
148 uninlined_format_args = "warn"
149 verbose_file_reads = "warn"
150 wildcard_imports = "warn"
151 zero_sized_map_values = "warn"
152
153 [lints.rust]
154 unnameable_types = "warn"
155 unreachable_pub = "warn"
156 unsafe_op_in_unsafe_fn = "warn"
157 unused_lifetimes = "warn"
158 unused_macro_rules = "warn"
159 unused_qualifications = "warn"
160
161 [lints.rust.rust_2018_idioms]
162 level = "warn"
163 priority = -1