[package]
name = "onpath"
version = "0.2.0"
edition = "2021"
rust-version = "1.71"
license = "MIT OR Apache-2.0"
description = "Get your tools on the PATH — cross-shell, cross-platform, zero fuss"
keywords = ["path", "shell", "environment", "installer", "cli"]
categories = ["command-line-utilities", "os", "filesystem"]
documentation = "https://docs.rs/onpath"
readme = "README.md"
exclude = [".github/", "tests/", "examples/", "scripts/"]
[features]
tracing = ["dep:tracing"]
[dependencies]
thiserror = "2"
dirs = "6"
tracing = { version = "0.1", optional = true }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
winreg = "0.55"
windows-sys = { version = "0.59", features = [
"Win32_UI_WindowsAndMessaging",
"Win32_Foundation",
"Win32_System_Threading",
] }
[dev-dependencies]
proptest = "1.10.0"
serial_test = "3.4.0"
tempfile = "3"
[lints.rust]
warnings = "deny"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"