Debian Codegraph @

debian/missing-sources/clap_derive/Cargo.toml

raw symbols SCIP
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.55"
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 = "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 rustdoc-args = ["--generate-link-to-definition"]
50
51 [package.metadata.release]
52 shared-version = true
53 dependent-version = "upgrade"
54 tag-name = "v{{version}}"
55
56 [features]
57 debug = []
58 default = []
59 deprecated = []
60 raw-deprecated = ["deprecated"]
61 unstable-markdown = [
62 "dep:pulldown-cmark",
63 "dep:anstyle",
64 ]
65 unstable-v5 = ["deprecated"]
66
67 [lib]
68 name = "clap_derive"
69 path = "src/lib.rs"
70 bench = false
71 proc-macro = true
72
73 [dependencies.anstyle]
74 version = "1.0.10"
75 optional = true
76
77 [dependencies.heck]
78 version = "0.5.0"
79
80 [dependencies.proc-macro2]
81 version = "1.0.69"
82
83 [dependencies.pulldown-cmark]
84 version = "0.13.0"
85 optional = true
86 default-features = false
87
88 [dependencies.quote]
89 version = "1.0.9"
90
91 [dependencies.syn]
92 version = "2.0.8"
93 features = ["full"]
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