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