Debian Codegraph @

debian/rust-vendor/clap_lex/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_lex"
16 version = "1.1.0"
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 = "Minimal, flexible command line parser"
32 readme = "README.md"
33 keywords = [
34 "argument",
35 "cli",
36 "arg",
37 "parser",
38 "parse",
39 ]
40 categories = ["command-line-interface"]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/clap-rs/clap"
43 resolver = "2"
44
45 [[package.metadata.release.pre-release-replacements]]
46 file = "CHANGELOG.md"
47 search = "Unreleased"
48 replace = "{{version}}"
49 min = 1
50
51 [[package.metadata.release.pre-release-replacements]]
52 file = "CHANGELOG.md"
53 search = '\.\.\.HEAD'
54 replace = "...{{tag_name}}"
55 exactly = 1
56
57 [[package.metadata.release.pre-release-replacements]]
58 file = "CHANGELOG.md"
59 search = "ReleaseDate"
60 replace = "{{date}}"
61 min = 1
62
63 [[package.metadata.release.pre-release-replacements]]
64 file = "CHANGELOG.md"
65 search = "<!-- next-header -->"
66 replace = """
67 <!-- next-header -->
68 ## [Unreleased] - ReleaseDate
69 """
70 exactly = 1
71
72 [[package.metadata.release.pre-release-replacements]]
73 file = "CHANGELOG.md"
74 search = "<!-- next-url -->"
75 replace = """
76 <!-- next-url -->
77 [Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD"""
78 exactly = 1
79
80 [[package.metadata.release.pre-release-replacements]]
81 file = "README.md"
82 search = "github.com/clap-rs/clap/blob/[^/]+/"
83 replace = "github.com/clap-rs/clap/blob/{{tag_name}}/"
84 exactly = 4
85 prerelease = true
86
87 [lib]
88 name = "clap_lex"
89 path = "src/lib.rs"
90 bench = false
91
92 [dev-dependencies.automod]
93 version = "1.0.16"
94
95 [lints.clippy]
96 assigning_clones = "allow"
97 blocks_in_conditions = "allow"
98 bool_assert_comparison = "allow"
99 branches_sharing_code = "allow"
100 checked_conversions = "warn"
101 collapsible_else_if = "allow"
102 create_dir = "warn"
103 dbg_macro = "warn"
104 debug_assert_with_mut_call = "warn"
105 doc_markdown = "warn"
106 empty_enums = "warn"
107 enum_glob_use = "warn"
108 expl_impl_clone_on_copy = "warn"
109 explicit_deref_methods = "warn"
110 explicit_into_iter_loop = "warn"
111 fallible_impl_from = "warn"
112 filter_map_next = "warn"
113 flat_map_option = "warn"
114 float_cmp_const = "warn"
115 fn_params_excessive_bools = "warn"
116 from_iter_instead_of_collect = "warn"
117 if_same_then_else = "allow"
118 implicit_clone = "warn"
119 imprecise_flops = "warn"
120 inconsistent_struct_constructor = "warn"
121 inefficient_to_string = "warn"
122 infinite_loop = "warn"
123 invalid_upcast_comparisons = "warn"
124 large_digit_groups = "warn"
125 large_stack_arrays = "warn"
126 large_types_passed_by_value = "warn"
127 let_and_return = "allow"
128 linkedlist = "warn"
129 lossy_float_literal = "warn"
130 macro_use_imports = "warn"
131 mem_forget = "warn"
132 multiple_bound_locations = "allow"
133 mutex_integer = "warn"
134 needless_continue = "allow"
135 needless_for_each = "warn"
136 negative_feature_names = "warn"
137 path_buf_push_overwrite = "warn"
138 ptr_as_ptr = "warn"
139 rc_mutex = "warn"
140 redundant_feature_names = "warn"
141 ref_option_ref = "warn"
142 rest_pat_in_fully_bound_structs = "warn"
143 result_large_err = "allow"
144 same_functions_in_if_condition = "warn"
145 self_named_module_files = "warn"
146 semicolon_if_nothing_returned = "warn"
147 string_add_assign = "warn"
148 string_lit_as_bytes = "warn"
149 todo = "warn"
150 trait_duplication_in_bounds = "warn"
151 uninlined_format_args = "warn"
152 verbose_file_reads = "warn"
153 zero_sized_map_values = "warn"
154
155 [lints.rust]
156 unnameable_types = "allow"
157 unreachable_pub = "warn"
158 unsafe_op_in_unsafe_fn = "warn"
159 unused_lifetimes = "warn"
160 unused_macro_rules = "warn"
161 unused_qualifications = "warn"
162
163 [lints.rust.rust_2018_idioms]
164 level = "warn"
165 priority = -1