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