[package]
edition = "2024"
name = "rustidy-macros"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rustidy formatter"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/zenithsiz/rustidy"
resolver = "2"
[lib]
name = "rustidy_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies.app-error]
version = "0.1.0"
[dependencies.convert_case]
version = "0.11.0"
[dependencies.darling]
version = "0.23.0"
[dependencies.derive_more]
version = "2.1.1"
features = ["full"]
[dependencies.extend]
version = "1.2.0"
[dependencies.itertools]
version = "0.14.0"
[dependencies.proc-macro2]
version = "1.0.106"
[dependencies.quote]
version = "1.0.44"
[dependencies.syn]
version = "2.0.117"
[lints.clippy]
empty_enums = "allow"
items-after-statements = "allow"
large_enum_variant = "allow"
match_bool = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
option_if_let_else = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unnecessary_debug_formatting = "allow"
unnecessary_self_imports = "warn"
wildcard_imports = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unused_crate_dependencies = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]