Debian Codegraph @

debian/rust-vendor/pin-project-lite/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 = "2018"
14 rust-version = "1.37"
15 name = "pin-project-lite"
16 version = "0.2.17"
17 build = false
18 exclude = [
19 "/.*",
20 "/tools",
21 "/DEVELOPMENT.md",
22 ]
23 autolib = false
24 autobins = false
25 autoexamples = false
26 autotests = false
27 autobenches = false
28 description = """
29 A lightweight version of pin-project written with declarative macros.
30 """
31 readme = "README.md"
32 keywords = [
33 "pin",
34 "macros",
35 ]
36 categories = [
37 "no-std",
38 "no-std::no-alloc",
39 "rust-patterns",
40 ]
41 license = "Apache-2.0 OR MIT"
42 repository = "https://github.com/taiki-e/pin-project-lite"
43
44 [package.metadata.docs.rs]
45 targets = ["x86_64-unknown-linux-gnu"]
46
47 [package.metadata.cargo_check_external_types]
48 allowed_external_types = []
49
50 [lib]
51 name = "pin_project_lite"
52 path = "src/lib.rs"
53 doc-scrape-examples = false
54
55 [[test]]
56 name = "compiletest"
57 path = "tests/compiletest.rs"
58
59 [[test]]
60 name = "drop_order"
61 path = "tests/drop_order.rs"
62
63 [[test]]
64 name = "expandtest"
65 path = "tests/expandtest.rs"
66
67 [[test]]
68 name = "proper_unpin"
69 path = "tests/proper_unpin.rs"
70
71 [[test]]
72 name = "test"
73 path = "tests/test.rs"
74
75 [dev-dependencies.rustversion]
76 version = "1"
77
78 [dev-dependencies.static_assertions]
79 version = "1"
80
81 [lints.clippy]
82 all = "warn"
83 as_ptr_cast_mut = "warn"
84 as_underscore = "warn"
85 default_union_representation = "warn"
86 inline_asm_x86_att_syntax = "warn"
87 pedantic = "warn"
88 trailing_empty_array = "warn"
89 transmute_undefined_repr = "warn"
90 undocumented_unsafe_blocks = "warn"
91 unused_trait_names = "warn"
92
93 [lints.clippy.bool_assert_comparison]
94 level = "allow"
95 priority = 1
96
97 [lints.clippy.borrow_as_ptr]
98 level = "allow"
99 priority = 1
100
101 [lints.clippy.cast_lossless]
102 level = "allow"
103 priority = 1
104
105 [lints.clippy.collapsible_match]
106 level = "allow"
107 priority = 1
108
109 [lints.clippy.declare_interior_mutable_const]
110 level = "allow"
111 priority = 1
112
113 [lints.clippy.doc_markdown]
114 level = "allow"
115 priority = 1
116
117 [lints.clippy.float_cmp]
118 level = "allow"
119 priority = 1
120
121 [lints.clippy.incompatible_msrv]
122 level = "allow"
123 priority = 1
124
125 [lints.clippy.manual_assert]
126 level = "allow"
127 priority = 1
128
129 [lints.clippy.manual_range_contains]
130 level = "allow"
131 priority = 1
132
133 [lints.clippy.missing_errors_doc]
134 level = "allow"
135 priority = 1
136
137 [lints.clippy.module_name_repetitions]
138 level = "allow"
139 priority = 1
140
141 [lints.clippy.naive_bytecount]
142 level = "allow"
143 priority = 1
144
145 [lints.clippy.nonminimal_bool]
146 level = "allow"
147 priority = 1
148
149 [lints.clippy.range_plus_one]
150 level = "allow"
151 priority = 1
152
153 [lints.clippy.similar_names]
154 level = "allow"
155 priority = 1
156
157 [lints.clippy.single_match]
158 level = "allow"
159 priority = 1
160
161 [lints.clippy.single_match_else]
162 level = "allow"
163 priority = 1
164
165 [lints.clippy.struct_excessive_bools]
166 level = "allow"
167 priority = 1
168
169 [lints.clippy.struct_field_names]
170 level = "allow"
171 priority = 1
172
173 [lints.clippy.too_many_arguments]
174 level = "allow"
175 priority = 1
176
177 [lints.clippy.too_many_lines]
178 level = "allow"
179 priority = 1
180
181 [lints.clippy.type_complexity]
182 level = "allow"
183 priority = 1
184
185 [lints.rust]
186 deprecated_safe = "warn"
187 improper_ctypes = "warn"
188 improper_ctypes_definitions = "warn"
189 non_ascii_idents = "warn"
190 rust_2018_idioms = "warn"
191 single_use_lifetimes = "warn"
192 unnameable_types = "warn"
193 unreachable_pub = "warn"
194
195 [lints.rust.unexpected_cfgs]
196 level = "warn"
197 priority = 0
198 check-cfg = []