[package]
edition = "2024"
rust-version = "1.85"
name = "pathlint"
version = "0.0.13"
authors = ["ShortArrow <bamboogeneral@shortarrow.jp>"]
build = "build.rs"
exclude = [
"/.github/",
"/docs/",
"/tests/fixtures/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lint the PATH environment variable against declarative ordering rules."
homepage = "https://github.com/ShortArrow/pathlint"
documentation = "https://docs.rs/pathlint"
readme = "README.md"
keywords = [
"path",
"lint",
"shell",
"cli",
"doctor",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ShortArrow/pathlint"
[lib]
name = "pathlint"
path = "src/lib.rs"
[[bin]]
name = "gen_schema"
path = "src/bin/gen_schema.rs"
[[bin]]
name = "pathlint"
path = "src/main.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "check"
path = "tests/check.rs"
[[test]]
name = "doctor"
path = "tests/doctor.rs"
[[test]]
name = "init"
path = "tests/init.rs"
[[test]]
name = "plugin_validation"
path = "tests/plugin_validation.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "sort"
path = "tests/sort.rs"
[[test]]
name = "where_cmd"
path = "tests/where_cmd.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.9"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.toml]
version = "0.9"
[target."cfg(windows)".dependencies.winreg]
version = "0.55"