| 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.14" |
| 17 |
exclude = [ |
| 18 |
"/.*", |
| 19 |
"/tools", |
| 20 |
"/DEVELOPMENT.md", |
| 21 |
] |
| 22 |
description = """ |
| 23 |
A lightweight version of pin-project written with declarative macros. |
| 24 |
""" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"pin", |
| 28 |
"macros", |
| 29 |
] |
| 30 |
categories = [ |
| 31 |
"no-std", |
| 32 |
"no-std::no-alloc", |
| 33 |
"rust-patterns", |
| 34 |
] |
| 35 |
license = "Apache-2.0 OR MIT" |
| 36 |
repository = "https://github.com/taiki-e/pin-project-lite" |
| 37 |
|
| 38 |
[package.metadata.cargo_check_external_types] |
| 39 |
allowed_external_types = [] |
| 40 |
|
| 41 |
[package.metadata.docs.rs] |
| 42 |
targets = ["x86_64-unknown-linux-gnu"] |
| 43 |
|
| 44 |
[lib] |
| 45 |
doc-scrape-examples = false |
| 46 |
|
| 47 |
[dev-dependencies.rustversion] |
| 48 |
version = "1" |
| 49 |
|
| 50 |
[dev-dependencies.static_assertions] |
| 51 |
version = "1" |
| 52 |
|
| 53 |
[lints.clippy] |
| 54 |
all = "warn" |
| 55 |
as_ptr_cast_mut = "warn" |
| 56 |
default_union_representation = "warn" |
| 57 |
inline_asm_x86_att_syntax = "warn" |
| 58 |
pedantic = "warn" |
| 59 |
trailing_empty_array = "warn" |
| 60 |
transmute_undefined_repr = "warn" |
| 61 |
undocumented_unsafe_blocks = "warn" |
| 62 |
|
| 63 |
[lints.clippy.bool_assert_comparison] |
| 64 |
level = "allow" |
| 65 |
priority = 1 |
| 66 |
|
| 67 |
[lints.clippy.borrow_as_ptr] |
| 68 |
level = "allow" |
| 69 |
priority = 1 |
| 70 |
|
| 71 |
[lints.clippy.declare_interior_mutable_const] |
| 72 |
level = "allow" |
| 73 |
priority = 1 |
| 74 |
|
| 75 |
[lints.clippy.doc_markdown] |
| 76 |
level = "allow" |
| 77 |
priority = 1 |
| 78 |
|
| 79 |
[lints.clippy.float_cmp] |
| 80 |
level = "allow" |
| 81 |
priority = 1 |
| 82 |
|
| 83 |
[lints.clippy.manual_assert] |
| 84 |
level = "allow" |
| 85 |
priority = 1 |
| 86 |
|
| 87 |
[lints.clippy.manual_range_contains] |
| 88 |
level = "allow" |
| 89 |
priority = 1 |
| 90 |
|
| 91 |
[lints.clippy.missing_errors_doc] |
| 92 |
level = "allow" |
| 93 |
priority = 1 |
| 94 |
|
| 95 |
[lints.clippy.module_name_repetitions] |
| 96 |
level = "allow" |
| 97 |
priority = 1 |
| 98 |
|
| 99 |
[lints.clippy.similar_names] |
| 100 |
level = "allow" |
| 101 |
priority = 1 |
| 102 |
|
| 103 |
[lints.clippy.single_match] |
| 104 |
level = "allow" |
| 105 |
priority = 1 |
| 106 |
|
| 107 |
[lints.clippy.single_match_else] |
| 108 |
level = "allow" |
| 109 |
priority = 1 |
| 110 |
|
| 111 |
[lints.clippy.struct_excessive_bools] |
| 112 |
level = "allow" |
| 113 |
priority = 1 |
| 114 |
|
| 115 |
[lints.clippy.struct_field_names] |
| 116 |
level = "allow" |
| 117 |
priority = 1 |
| 118 |
|
| 119 |
[lints.clippy.too_many_arguments] |
| 120 |
level = "allow" |
| 121 |
priority = 1 |
| 122 |
|
| 123 |
[lints.clippy.too_many_lines] |
| 124 |
level = "allow" |
| 125 |
priority = 1 |
| 126 |
|
| 127 |
[lints.clippy.type_complexity] |
| 128 |
level = "allow" |
| 129 |
priority = 1 |
| 130 |
|
| 131 |
[lints.rust] |
| 132 |
improper_ctypes = "warn" |
| 133 |
improper_ctypes_definitions = "warn" |
| 134 |
non_ascii_idents = "warn" |
| 135 |
rust_2018_idioms = "warn" |
| 136 |
single_use_lifetimes = "warn" |
| 137 |
unreachable_pub = "warn" |