Debian Codegraph @

debian/rust-vendor/clap_mangen/Cargo.toml

raw
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 = "2024"
14 rust-version = "1.85"
15 name = "clap_mangen"
16 version = "0.3.3"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "LICENSE*",
23 "README.md",
24 "examples/**/*",
25 ]
26 autolib = false
27 autobins = false
28 autoexamples = false
29 autotests = false
30 autobenches = false
31 description = "A manpage generator for clap"
32 readme = "README.md"
33 keywords = [
34 "clap",
35 "cli",
36 "generate",
37 "manpage",
38 ]
39 categories = ["command-line-interface"]
40 license = "MIT OR Apache-2.0"
41 repository = "https://github.com/clap-rs/clap"
42 resolver = "2"
43
44 [package.metadata.docs.rs]
45 targets = ["x86_64-unknown-linux-gnu"]
46 rustdoc-args = ["--generate-link-to-definition"]
47
48 [[package.metadata.release.pre-release-replacements]]
49 file = "CHANGELOG.md"
50 search = "Unreleased"
51 replace = "{{version}}"
52 min = 1
53
54 [[package.metadata.release.pre-release-replacements]]
55 file = "CHANGELOG.md"
56 search = '\.\.\.HEAD'
57 replace = "...{{tag_name}}"
58 exactly = 1
59
60 [[package.metadata.release.pre-release-replacements]]
61 file = "CHANGELOG.md"
62 search = "ReleaseDate"
63 replace = "{{date}}"
64 min = 1
65
66 [[package.metadata.release.pre-release-replacements]]
67 file = "CHANGELOG.md"
68 search = "<!-- next-header -->"
69 replace = """
70 <!-- next-header -->
71 ## [Unreleased] - ReleaseDate
72 """
73 exactly = 1
74
75 [[package.metadata.release.pre-release-replacements]]
76 file = "CHANGELOG.md"
77 search = "<!-- next-url -->"
78 replace = """
79 <!-- next-url -->
80 [Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD"""
81 exactly = 1
82
83 [[package.metadata.release.pre-release-replacements]]
84 file = "README.md"
85 search = "github.com/clap-rs/clap/blob/[^/]+/"
86 replace = "github.com/clap-rs/clap/blob/{{tag_name}}/"
87 exactly = 4
88 prerelease = true
89
90 [features]
91 debug = ["clap/debug"]
92 default = []
93 env = ["clap/env"]
94
95 [lib]
96 name = "clap_mangen"
97 path = "src/lib.rs"
98 bench = false
99
100 [[example]]
101 name = "man"
102 path = "examples/man.rs"
103 doc-scrape-examples = true
104 required-features = ["env"]
105
106 [dependencies.clap]
107 version = "4.6.6"
108 features = ["std"]
109 default-features = false
110
111 [dependencies.roff]
112 version = "1.1.1"
113
114 [dev-dependencies.automod]
115 version = "1.0.16"
116
117 [dev-dependencies.clap]
118 version = "4.6.6"
119 features = [
120 "std",
121 "help",
122 ]
123 default-features = false
124
125 [dev-dependencies.snapbox]
126 version = "1.2.0"
127 features = ["diff"]
128
129 [lints.clippy]
130 assigning_clones = "allow"
131 blocks_in_conditions = "allow"
132 bool_assert_comparison = "allow"
133 branches_sharing_code = "allow"
134 checked_conversions = "warn"
135 collapsible_else_if = "allow"
136 create_dir = "warn"
137 dbg_macro = "warn"
138 debug_assert_with_mut_call = "warn"
139 doc_markdown = "warn"
140 empty_enums = "warn"
141 enum_glob_use = "warn"
142 expl_impl_clone_on_copy = "warn"
143 explicit_deref_methods = "warn"
144 explicit_into_iter_loop = "warn"
145 fallible_impl_from = "warn"
146 filter_map_next = "warn"
147 flat_map_option = "warn"
148 float_cmp_const = "warn"
149 fn_params_excessive_bools = "warn"
150 from_iter_instead_of_collect = "warn"
151 if_same_then_else = "allow"
152 implicit_clone = "warn"
153 imprecise_flops = "warn"
154 inconsistent_struct_constructor = "warn"
155 inefficient_to_string = "warn"
156 infinite_loop = "warn"
157 invalid_upcast_comparisons = "warn"
158 large_digit_groups = "warn"
159 large_stack_arrays = "warn"
160 large_types_passed_by_value = "warn"
161 let_and_return = "allow"
162 linkedlist = "warn"
163 lossy_float_literal = "warn"
164 macro_use_imports = "warn"
165 mem_forget = "warn"
166 multiple_bound_locations = "allow"
167 mutex_integer = "warn"
168 needless_continue = "allow"
169 needless_for_each = "warn"
170 negative_feature_names = "warn"
171 path_buf_push_overwrite = "warn"
172 ptr_as_ptr = "warn"
173 rc_mutex = "warn"
174 redundant_feature_names = "warn"
175 ref_option_ref = "warn"
176 rest_pat_in_fully_bound_structs = "warn"
177 result_large_err = "allow"
178 same_functions_in_if_condition = "warn"
179 self_named_module_files = "warn"
180 semicolon_if_nothing_returned = "warn"
181 str_to_string = "warn"
182 string_add = "warn"
183 string_add_assign = "warn"
184 string_lit_as_bytes = "warn"
185 todo = "warn"
186 trait_duplication_in_bounds = "warn"
187 uninlined_format_args = "warn"
188 verbose_file_reads = "warn"
189 zero_sized_map_values = "warn"
190
191 [lints.rust]
192 unnameable_types = "allow"
193 unreachable_pub = "warn"
194 unsafe_op_in_unsafe_fn = "warn"
195 unused_lifetimes = "warn"
196 unused_macro_rules = "warn"
197 unused_qualifications = "warn"
198
199 [lints.rust.rust_2018_idioms]
200 level = "warn"
201 priority = -1