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