Debian Codegraph @

third_party/rust/clap_derive/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 = "2021"
14 rust-version = "1.74"
15 name = "clap_derive"
16 version = "4.5.13"
17 build = false
18 include = [
19 "build.rs",
20 "src/**/*",
21 "Cargo.toml",
22 "LICENSE*",
23 "README.md",
24 "benches/**/*",
25 "examples/**/*",
26 ]
27 autobins = false
28 autoexamples = false
29 autotests = false
30 autobenches = false
31 description = "Parse command line argument by defining a struct, derive crate."
32 readme = "README.md"
33 keywords = [
34 "clap",
35 "cli",
36 "parse",
37 "derive",
38 "proc_macro",
39 ]
40 categories = [
41 "command-line-interface",
42 "development-tools::procedural-macro-helpers",
43 ]
44 license = "MIT OR Apache-2.0"
45 repository = "https://github.com/clap-rs/clap"
46
47 [package.metadata.docs.rs]
48 targets = ["x86_64-unknown-linux-gnu"]
49
50 [package.metadata.release]
51 dependent-version = "upgrade"
52 shared-version = true
53 tag-name = "v{{version}}"
54
55 [lib]
56 name = "clap_derive"
57 path = "src/lib.rs"
58 bench = false
59 proc-macro = true
60
61 [dependencies.heck]
62 version = "0.5.0"
63
64 [dependencies.proc-macro2]
65 version = "1.0.69"
66
67 [dependencies.quote]
68 version = "1.0.9"
69
70 [dependencies.syn]
71 version = "2.0.8"
72 features = ["full"]
73
74 [features]
75 debug = []
76 default = []
77 deprecated = []
78 raw-deprecated = ["deprecated"]
79 unstable-v5 = ["deprecated"]
80
81 [lints.clippy]
82 assigning_clones = "allow"
83 blocks_in_conditions = "allow"
84 bool_assert_comparison = "allow"
85 branches_sharing_code = "allow"
86 checked_conversions = "warn"
87 collapsible_else_if = "allow"
88 create_dir = "warn"
89 dbg_macro = "warn"
90 debug_assert_with_mut_call = "warn"
91 doc_markdown = "warn"
92 empty_enum = "warn"
93 enum_glob_use = "warn"
94 expl_impl_clone_on_copy = "warn"
95 explicit_deref_methods = "warn"
96 explicit_into_iter_loop = "warn"
97 fallible_impl_from = "warn"
98 filter_map_next = "warn"
99 flat_map_option = "warn"
100 float_cmp_const = "warn"
101 fn_params_excessive_bools = "warn"
102 from_iter_instead_of_collect = "warn"
103 if_same_then_else = "allow"
104 implicit_clone = "warn"
105 imprecise_flops = "warn"
106 inconsistent_struct_constructor = "warn"
107 inefficient_to_string = "warn"
108 infinite_loop = "warn"
109 invalid_upcast_comparisons = "warn"
110 large_digit_groups = "warn"
111 large_stack_arrays = "warn"
112 large_types_passed_by_value = "warn"
113 let_and_return = "allow"
114 linkedlist = "warn"
115 lossy_float_literal = "warn"
116 macro_use_imports = "warn"
117 mem_forget = "warn"
118 multiple_bound_locations = "allow"
119 mutex_integer = "warn"
120 needless_continue = "warn"
121 needless_for_each = "warn"
122 negative_feature_names = "warn"
123 path_buf_push_overwrite = "warn"
124 ptr_as_ptr = "warn"
125 rc_mutex = "warn"
126 redundant_feature_names = "warn"
127 ref_option_ref = "warn"
128 rest_pat_in_fully_bound_structs = "warn"
129 same_functions_in_if_condition = "warn"
130 self_named_module_files = "warn"
131 semicolon_if_nothing_returned = "warn"
132 string_add_assign = "warn"
133 string_lit_as_bytes = "warn"
134 todo = "warn"
135 trait_duplication_in_bounds = "warn"
136 verbose_file_reads = "warn"
137 zero_sized_map_values = "warn"
138
139 [lints.rust]
140 unreachable_pub = "warn"
141 unsafe_op_in_unsafe_fn = "warn"
142 unused_lifetimes = "warn"
143 unused_macro_rules = "warn"
144 unused_qualifications = "warn"
145
146 [lints.rust.rust_2018_idioms]
147 level = "warn"
148 priority = -1