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