| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "lofty_attr" |
| 15 |
version = "0.11.1" |
| 16 |
authors = ["Serial <[email protected]>"] |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"src", |
| 20 |
"Cargo.toml", |
| 21 |
"../LICENSE-*", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "Macros for Lofty" |
| 29 |
readme = "README.md" |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/Serial-ATA/lofty-rs" |
| 32 |
|
| 33 |
[lib] |
| 34 |
name = "lofty_attr" |
| 35 |
path = "src/lib.rs" |
| 36 |
proc-macro = true |
| 37 |
|
| 38 |
[dependencies.proc-macro2] |
| 39 |
version = "1.0.86" |
| 40 |
|
| 41 |
[dependencies.quote] |
| 42 |
version = "1.0.36" |
| 43 |
|
| 44 |
[dependencies.syn] |
| 45 |
version = "2.0.72" |
| 46 |
features = [ |
| 47 |
"full", |
| 48 |
"parsing", |
| 49 |
] |
| 50 |
|
| 51 |
[lints.clippy] |
| 52 |
bool_to_int_with_if = "allow" |
| 53 |
cast_possible_truncation = "allow" |
| 54 |
cast_possible_wrap = "allow" |
| 55 |
cast_precision_loss = "allow" |
| 56 |
cast_sign_loss = "allow" |
| 57 |
dbg_macro = "forbid" |
| 58 |
doc_markdown = "allow" |
| 59 |
field_reassign_with_default = "allow" |
| 60 |
from_over_into = "allow" |
| 61 |
ignored_unit_patterns = "allow" |
| 62 |
into_iter_without_iter = "allow" |
| 63 |
len_without_is_empty = "allow" |
| 64 |
let_underscore_untyped = "allow" |
| 65 |
manual_range_patterns = "allow" |
| 66 |
match_wildcard_for_single_variants = "allow" |
| 67 |
module_name_repetitions = "allow" |
| 68 |
must_use_candidate = "allow" |
| 69 |
needless_late_init = "allow" |
| 70 |
needless_return = "allow" |
| 71 |
no_effect_underscore_binding = "allow" |
| 72 |
redundant_guards = "allow" |
| 73 |
return_self_not_must_use = "allow" |
| 74 |
semicolon_if_nothing_returned = "allow" |
| 75 |
similar_names = "allow" |
| 76 |
single_match_else = "allow" |
| 77 |
string_to_string = "forbid" |
| 78 |
struct_excessive_bools = "allow" |
| 79 |
tabs_in_doc_comments = "allow" |
| 80 |
too_many_lines = "allow" |
| 81 |
type_complexity = "allow" |
| 82 |
uninlined_format_args = "allow" |
| 83 |
upper_case_acronyms = "allow" |
| 84 |
used_underscore_binding = "allow" |
| 85 |
|
| 86 |
[lints.clippy.all] |
| 87 |
level = "deny" |
| 88 |
priority = -1 |
| 89 |
|
| 90 |
[lints.clippy.pedantic] |
| 91 |
level = "deny" |
| 92 |
priority = -1 |
| 93 |
|
| 94 |
[lints.rust] |
| 95 |
explicit_outlives_requirements = "deny" |
| 96 |
missing_docs = "deny" |
| 97 |
trivial_casts = "deny" |
| 98 |
trivial_numeric_casts = "deny" |
| 99 |
unknown_lints = "allow" |
| 100 |
unused_import_braces = "deny" |
| 101 |
|
| 102 |
[lints.rust.rust_2018_idioms] |
| 103 |
level = "deny" |
| 104 |
priority = -1 |
| 105 |
|
| 106 |
[lints.rustdoc] |
| 107 |
broken_intra_doc_links = "deny" |