[package]
edition = "2024"
rust-version = "1.85"
name = "path-lib"
version = "0.1.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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."
homepage = "https://github.com/jamesgober/path-lib"
documentation = "https://docs.rs/path-lib"
readme = "README.md"
keywords = [
"path",
"directories",
"xdg",
"known-folders",
"app-dirs",
]
categories = [
"filesystem",
"os",
]
license = "Apache-2.0 OR MIT"
repository = "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"
[[test]]
name = "app"
path = "tests/app.rs"
[[test]]
name = "ops"
path = "tests/ops.rs"
[[test]]
name = "props"
path = "tests/props.rs"
[[bench]]
name = "path_bench"
path = "benches/path_bench.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"