[package]
edition = "2021"
rust-version = "1.85"
name = "relative-path-utils"
version = "0.3.3"
authors = ["John-John Tedro <udoprog@tedro.se>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable, relative paths for Rust."
documentation = "https://docs.rs/relative-path"
readme = "README.md"
keywords = ["path"]
categories = ["filesystem"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/udoprog/relative-path"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"relative_path_docsrs",
]
[features]
alloc = []
default = ["root"]
root = [
"alloc",
"std",
"dep:windows-sys",
"dep:libc",
"dep:errno",
]
std = []
[lib]
name = "relative_path_utils"
path = "src/lib.rs"
[[test]]
name = "root"
path = "tests/root.rs"
[dependencies.relative-path]
version = "2.0.3"
features = ["alloc"]
default-features = false
[dev-dependencies.anyhow]
version = "1.0.76"
[dev-dependencies.serde]
version = "1.0.160"
features = ["derive"]
[target."cfg(unix)".dependencies.errno]
version = "0.3.8"
optional = true
[target."cfg(unix)".dependencies.libc]
version = "0.2.151"
optional = true
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Wdk_Foundation",
"Wdk_Storage_FileSystem",
"Wdk_System_SystemServices",
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_WindowsProgramming",
"Win32_Security",
"Win32_System_Kernel",
]
optional = true
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(relative_path_docsrs)"]