[dependencies.filetime]
optional = true
version = "0.2"
[dependencies.parking_lot]
optional = true
version = "0.12"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.serde_json]
optional = true
version = "1"
[dev-dependencies.tempfile]
version = "3.14"
[features]
default = []
filetime = ["dep:filetime"]
getrandom = ["dep:getrandom"]
libc = ["dep:libc"]
memory = ["dep:parking_lot"]
real = []
serde = ["dep:serde"]
serde_json = ["dep:serde_json", "serde"]
strip_unc = []
wasm = ["real", "dep:js-sys", "dep:wasm-bindgen"]
winapi = ["dep:windows-sys"]
[lib]
name = "sys_traits"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Trait per function for system related functionality."
edition = "2021"
license = "MIT"
name = "sys_traits"
readme = "README.md"
repository = "https://github.com/dsherret/sys_traits"
version = "0.1.7"
[package.metadata.docs.rs]
all-features = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
optional = true
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
optional = true
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
optional = true
version = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_Globalization", "Win32_Storage_FileSystem", "Win32_System_Com", "Win32_System_IO", "Win32_UI_Shell", "Win32_UI_Shell_Common"]
optional = true
version = "0.59"
[target."cfg(unix)".dependencies.libc]
optional = true
version = "0.2"