[package]
name = "sysdirs"
version = "0.9.4"
edition = "2024"
authors = ["Sovran.la <support@sovran.la>"]
description = "Cross-platform system directory paths for iOS, macOS, Android, Linux, Windows and other Unix"
repository = "https://github.com/sovran-rs/sysdirs"
homepage = "https://github.com/sovran-rs/sysdirs"
documentation = "https://docs.rs/sysdirs"
license = "MIT"
readme = "README.md"
keywords = ["directories", "paths", "cross-platform", "system", "mobile"]
categories = ["filesystem", "os"]
[features]
default = []
android-auto = ["ndk-context", "jni"]
release-tool = ["dep:toml_edit"]
[dependencies]
toml_edit = { version = "0.22", optional = true }
[target.'cfg(target_os = "android")'.dependencies]
ndk-context = { version = "0.1", optional = true }
jni = { version = "0.21", optional = true, default-features = false }
[dev-dependencies]
[[bin]]
name = "release"
path = "tools/release.rs"
required-features = ["release-tool"]
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
]