[package]
name = "agentlint-cli"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
description = "A fast, local-first linter for AI coding-agent configuration"
license = "MIT"
readme = "README.md"
repository = "https://github.com/zynx-real/agentlint"
homepage = "https://github.com/zynx-real/agentlint"
documentation = "https://docs.rs/agentlint-cli"
keywords = ["ai", "linter", "cli", "mcp", "agents"]
categories = ["command-line-utilities", "development-tools"]
include = [
"src/**",
"tests/**",
"docs/**",
"Cargo.toml",
"Cargo.lock",
"README.md",
"LICENSE",
"CHANGELOG.md",
]
[lib]
name = "agentlint"
path = "src/lib.rs"
[[bin]]
name = "agentlint"
path = "src/main.rs"
[dependencies]
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
console = "0.16"
globset = "0.4"
ignore = "0.4"
regex = "1.11"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
shell-words = "1.1"
strsim = "0.11"
toml = "0.9"
url = "2.5"
which = "8.0"
[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.1"
tempfile = "3.20"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"