[package]
name = "path-lib"
version = "1.0.0"
edition = "2024"
rust-version = "1.85"
readme = "README.md"
license = "Apache-2.0 OR MIT"
authors = ["James Gober <me@jamesgober.com>"]
description = "Cross-platform application and OS directory resolution for Rust, with user and global scopes, hardened sub-path joining, and guarded filesystem operations. Zero dependencies."
keywords = ["path", "directories", "xdg", "known-folders", "app-dirs"]
categories = ["filesystem", "os"]
documentation = "https://docs.rs/path-lib"
repository = "https://github.com/jamesgober/path-lib"
homepage = "https://github.com/jamesgober/path-lib"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "path_lib"
path = "src/lib.rs"
[dependencies]
[dev-dependencies]
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }
proptest = { version = "1", default-features = false, features = ["std"] }
[[bench]]
name = "path_bench"
harness = false
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"