[package]
name = "pathlint"
version = "0.0.24"
edition = "2024"
rust-version = "1.85"
authors = ["ShortArrow <bamboogeneral@shortarrow.jp>"]
description = "Lint the PATH environment variable against declarative ordering rules."
readme = "README.md"
homepage = "https://github.com/ShortArrow/pathlint"
repository = "https://github.com/ShortArrow/pathlint"
documentation = "https://docs.rs/pathlint"
license = "MIT OR Apache-2.0"
keywords = ["path", "lint", "shell", "cli", "doctor"]
categories = ["command-line-utilities", "development-tools"]
exclude = [
"/.github/",
"/docs/",
"/tests/fixtures/",
]
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
schemars = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
toml = "0.9"
[target.'cfg(windows)'.dependencies]
winreg = "0.55"
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Security_Authorization",
"Win32_Storage_FileSystem",
"Win32_System_SystemServices",
] }
[build-dependencies]
serde = { version = "1", features = ["derive"] }
toml = "0.9"
[dev-dependencies]
tempfile = "3"
[[bin]]
name = "pathlint"
path = "src/bin/pathlint/main.rs"