cargo-features = ["codegen-backend"]
[[bin]]
name = "codestyle"
path = "src/main.rs"
[dependencies.clap]
features = ["derive"]
version = "^4.5.4"
[dependencies.color-eyre]
version = "^0.6.3"
[dependencies.derive-new]
version = "^0"
[dependencies.miette]
features = ["fancy"]
version = "^7"
[dependencies.proc-macro2]
features = ["span-locations"]
version = "^1"
[dependencies.quote]
version = "^1"
[dependencies.smart-default]
version = "^0.7"
[dependencies.syn]
features = ["full", "parsing", "extra-traits", "visit"]
version = "^2"
[dependencies.tempfile]
version = "^3"
[dependencies.v_utils]
features = ["io", "macros", "cli", "xdg"]
version = "^2.15.19"
[dependencies.walkdir]
version = "^2"
[dev-dependencies.insta]
version = "^1"
[dev-dependencies.trybuild]
version = "^1"
[dev-dependencies.v_fixtures]
version = "^0.3"
[lib]
name = "codestyle"
path = "src/lib.rs"
[lints.clippy]
float_cmp = "allow"
get_first = "allow"
get_last_with_len = "allow"
len_zero = "allow"
tabs_in_doc_comments = "allow"
undocumented_unsafe_blocks = "warn"
[package]
authors = ["Valeriy Sakharov <valeratrades@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["development-tools"]
description = "A code style checker and formatter for Rust"
edition = "2024"
keywords = ["codestyle", "linter", "formatter", "style"]
license = "BlueOak-1.0.0"
name = "codestyle"
readme = "README.md"
repository = "https://github.com/valeratrades/codestyle"
version = "0.2.11"
[package.metadata.binstall]
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
[[test]]
name = "rust"
path = "tests/rust/main.rs"