cargo-features = ["codegen-backend"]
[package]
name = "codestyle"
version = "0.2.3"
edition = "2024"
authors = ["Valeriy Sakharov <valeratrades@gmail.com>"]
description = "A code style checker and formatter for Rust"
license = "BlueOak-1.0.0"
repository = "https://github.com/valeratrades/codestyle"
keywords = ["codestyle", "linter", "formatter", "style"]
categories = ["development-tools"]
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
[dependencies]
clap = { version = "^4.5.4", features = ["derive"] }
color-eyre = "^0.6.3"
derive-new = "^0"
proc-macro2 = { version = "^1", features = ["span-locations"] }
quote = "^1"
smart-default = "^0.7"
syn = { version = "^2", features = ["full", "parsing", "extra-traits", "visit"] }
v_utils = { version = "^2.15.0", features = ["io", "macros", "cli"] }
walkdir = "^2"
[dev-dependencies]
insta = "^1"
trybuild = "^1"
[lints.clippy]
float_cmp = "allow"
len_zero = "allow"
undocumented_unsafe_blocks = "warn"
tabs_in_doc_comments = "allow"
get_first = "allow"
get_last_with_len = "allow"