[package]
edition = "2024"
name = "sugar_path"
version = "2.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sugar functions for manipulating paths"
readme = "README.md"
keywords = [
"path",
"path-slash",
"relative-path",
]
license = "MIT"
repository = "https://github.com/hyf0/sugar_path"
[features]
cached_current_dir = []
codspeed = ["criterion2/codspeed"]
[lib]
name = "sugar_path"
path = "src/lib.rs"
[[test]]
name = "absolutize"
path = "tests/absolutize.rs"
[[test]]
name = "absolutize_with"
path = "tests/absolutize_with.rs"
[[test]]
name = "as_path"
path = "tests/as_path.rs"
[[test]]
name = "deep_paths"
path = "tests/deep_paths.rs"
[[test]]
name = "normalize"
path = "tests/normalize.rs"
[[test]]
name = "relative"
path = "tests/relative.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[test]]
name = "to_slash"
path = "tests/to_slash.rs"
[[bench]]
name = "absolutize"
path = "benches/absolutize.rs"
harness = false
[[bench]]
name = "as_path"
path = "benches/as_path.rs"
harness = false
[[bench]]
name = "normalize"
path = "benches/normalize.rs"
harness = false
[[bench]]
name = "relative"
path = "benches/relative.rs"
harness = false
[[bench]]
name = "to_slash"
path = "benches/to_slash.rs"
harness = false
[dependencies.memchr]
version = "2"
[dependencies.smallvec]
version = "1.15"
[dev-dependencies.criterion2]
version = "3"
default-features = false
[profile.bench]
debug = 2