| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.37" |
| 15 |
name = "pin-project-lite" |
| 16 |
version = "0.2.16" |
| 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.cargo_check_external_types] |
| 45 |
allowed_external_types = [] |
| 46 |
|
| 47 |
[package.metadata.docs.rs] |
| 48 |
targets = ["x86_64-unknown-linux-gnu"] |
| 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 |
|
| 92 |
[lints.clippy.bool_assert_comparison] |
| 93 |
level = "allow" |
| 94 |
priority = 1 |
| 95 |
|
| 96 |
[lints.clippy.borrow_as_ptr] |
| 97 |
level = "allow" |
| 98 |
priority = 1 |
| 99 |
|
| 100 |
[lints.clippy.cast_lossless] |
| 101 |
level = "allow" |
| 102 |
priority = 1 |
| 103 |
|
| 104 |
[lints.clippy.declare_interior_mutable_const] |
| 105 |
level = "allow" |
| 106 |
priority = 1 |
| 107 |
|
| 108 |
[lints.clippy.doc_markdown] |
| 109 |
level = "allow" |
| 110 |
priority = 1 |
| 111 |
|
| 112 |
[lints.clippy.float_cmp] |
| 113 |
level = "allow" |
| 114 |
priority = 1 |
| 115 |
|
| 116 |
[lints.clippy.incompatible_msrv] |
| 117 |
level = "allow" |
| 118 |
priority = 1 |
| 119 |
|
| 120 |
[lints.clippy.lint_groups_priority] |
| 121 |
level = "allow" |
| 122 |
priority = 1 |
| 123 |
|
| 124 |
[lints.clippy.manual_assert] |
| 125 |
level = "allow" |
| 126 |
priority = 1 |
| 127 |
|
| 128 |
[lints.clippy.manual_range_contains] |
| 129 |
level = "allow" |
| 130 |
priority = 1 |
| 131 |
|
| 132 |
[lints.clippy.missing_errors_doc] |
| 133 |
level = "allow" |
| 134 |
priority = 1 |
| 135 |
|
| 136 |
[lints.clippy.module_name_repetitions] |
| 137 |
level = "allow" |
| 138 |
priority = 1 |
| 139 |
|
| 140 |
[lints.clippy.naive_bytecount] |
| 141 |
level = "allow" |
| 142 |
priority = 1 |
| 143 |
|
| 144 |
[lints.clippy.nonminimal_bool] |
| 145 |
level = "allow" |
| 146 |
priority = 1 |
| 147 |
|
| 148 |
[lints.clippy.range_plus_one] |
| 149 |
level = "allow" |
| 150 |
priority = 1 |
| 151 |
|
| 152 |
[lints.clippy.similar_names] |
| 153 |
level = "allow" |
| 154 |
priority = 1 |
| 155 |
|
| 156 |
[lints.clippy.single_match] |
| 157 |
level = "allow" |
| 158 |
priority = 1 |
| 159 |
|
| 160 |
[lints.clippy.single_match_else] |
| 161 |
level = "allow" |
| 162 |
priority = 1 |
| 163 |
|
| 164 |
[lints.clippy.struct_excessive_bools] |
| 165 |
level = "allow" |
| 166 |
priority = 1 |
| 167 |
|
| 168 |
[lints.clippy.struct_field_names] |
| 169 |
level = "allow" |
| 170 |
priority = 1 |
| 171 |
|
| 172 |
[lints.clippy.too_many_arguments] |
| 173 |
level = "allow" |
| 174 |
priority = 1 |
| 175 |
|
| 176 |
[lints.clippy.too_many_lines] |
| 177 |
level = "allow" |
| 178 |
priority = 1 |
| 179 |
|
| 180 |
[lints.clippy.type_complexity] |
| 181 |
level = "allow" |
| 182 |
priority = 1 |
| 183 |
|
| 184 |
[lints.clippy.unreadable_literal] |
| 185 |
level = "allow" |
| 186 |
priority = 1 |
| 187 |
|
| 188 |
[lints.rust] |
| 189 |
deprecated_safe = "warn" |
| 190 |
improper_ctypes = "warn" |
| 191 |
improper_ctypes_definitions = "warn" |
| 192 |
non_ascii_idents = "warn" |
| 193 |
rust_2018_idioms = "warn" |
| 194 |
single_use_lifetimes = "warn" |
| 195 |
unreachable_pub = "warn" |
| 196 |
|
| 197 |
[lints.rust.unexpected_cfgs] |
| 198 |
level = "warn" |
| 199 |
priority = 0 |
| 200 |
check-cfg = [] |