# 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.

[package]
edition = "2024"
rust-version = "1.85"
name = "pathlint"
version = "0.0.16"
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_check_schema"
path = "src/bin/gen_check_schema.rs"

[[bin]]
name = "gen_doctor_schema"
path = "src/bin/gen_doctor_schema.rs"

[[bin]]
name = "gen_schema"
path = "src/bin/gen_schema.rs"

[[bin]]
name = "gen_sort_schema"
path = "src/bin/gen_sort_schema.rs"

[[bin]]
name = "gen_trace_schema"
path = "src/bin/gen_trace_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 = "check_schema"
path = "tests/check_schema.rs"

[[test]]
name = "cli_strings"
path = "tests/cli_strings.rs"

[[test]]
name = "doctor"
path = "tests/doctor.rs"

[[test]]
name = "doctor_schema"
path = "tests/doctor_schema.rs"

[[test]]
name = "help_contract"
path = "tests/help_contract.rs"

[[test]]
name = "init"
path = "tests/init.rs"

[[test]]
name = "plugin_validation"
path = "tests/plugin_validation.rs"

[[test]]
name = "public_api"
path = "tests/public_api.rs"

[[test]]
name = "schema"
path = "tests/schema.rs"

[[test]]
name = "security"
path = "tests/security.rs"

[[test]]
name = "sort"
path = "tests/sort.rs"

[[test]]
name = "sort_schema"
path = "tests/sort_schema.rs"

[[test]]
name = "trace"
path = "tests/trace.rs"

[[test]]
name = "trace_schema"
path = "tests/trace_schema.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"
