[package]
edition = "2024"
rust-version = "1.85"
name = "cargo-stern4rust"
version = "0.3.0"
authors = ["Umberto Gotti <umberto.gotti@umbertogotti.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cargo subcommand that fails the build when a Rust workspace breaks a house coding rule, such as AAA test structure or one struct per file"
documentation = "https://docs.rs/cargo-stern4rust"
readme = "README.md"
keywords = [
"cargo",
"subcommand",
"lint",
"conventions",
"cli",
]
categories = [
"development-tools::cargo-plugins",
"development-tools",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/umbgtt10/stern4rust"
[lib]
name = "stern4rust"
path = "src/lib.rs"
[[bin]]
name = "cargo-stern4rust"
path = "src/main.rs"
[[test]]
name = "all_tests"
path = "tests/all_tests.rs"
[dependencies.anyhow]
version = "1.0.98"
[dependencies.cargo_metadata]
version = "0.23.1"
[dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dependencies.proc-macro2]
version = "1.0"
features = ["span-locations"]
[dependencies.quote]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
"printing",
]
[dependencies.walkdir]
version = "2.5.0"
[dev-dependencies.clap]
version = "4.6.0"
features = ["derive"]