codestyle 0.2.26

A code style checker and formatter for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

cargo-features = ["codegen-backend"]

[package]
edition = "2024"
name = "codestyle"
version = "0.2.26"
authors = ["Valeriy Sakharov <valeratrades@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A code style checker and formatter for Rust"
readme = "README.md"
keywords = [
    "codestyle",
    "linter",
    "formatter",
    "style",
]
categories = ["development-tools"]
license = "BlueOak-1.0.0"
repository = "https://github.com/valeratrades/codestyle"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[lib]
name = "codestyle"
path = "src/lib.rs"

[[bin]]
name = "codestyle"
path = "src/main.rs"

[[test]]
name = "rust"
path = "tests/integration/rust/main.rs"

[dependencies.clap]
version = "^4.5.4"
features = ["derive"]

[dependencies.color-eyre]
version = "^0.6.3"

[dependencies.derive-new]
version = "^0"

[dependencies.miette]
version = "^7"
features = ["fancy"]

[dependencies.proc-macro2]
version = "^1"
features = ["span-locations"]

[dependencies.quote]
version = "^1"

[dependencies.smart-default]
version = "^0.7"

[dependencies.syn]
version = "^2"
features = [
    "full",
    "parsing",
    "extra-traits",
    "visit",
]

[dependencies.tempfile]
version = "^3"

[dependencies.v_utils]
version = "^2.15.19"
features = [
    "io",
    "macros",
    "cli",
    "xdg",
]

[dependencies.walkdir]
version = "^2"

[dev-dependencies.insta]
version = "^1"

[dev-dependencies.trybuild]
version = "^1"

[dev-dependencies.v_fixtures]
version = "^0.3"

[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"