path-lib 1.0.0

Cross-platform application and OS directory resolution for Rust, with user and global scopes, hardened sub-path joining, and guarded filesystem operations. Zero dependencies.
# 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 = "path-lib"
version = "1.0.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"