[package]
name = "cap-primitives"
version = "1.0.15"
description = "Capability-based primitives"
authors = [
"Dan Gohman <dev@sunfishcode.online>",
"Jakub Konka <kubkon@jakubkonka.com>",
]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
keywords = ["api", "network", "file"]
categories = ["filesystem", "network-programming"]
repository = "https://github.com/bytecodealliance/cap-std"
edition = "2018"
[dependencies]
ambient-authority = "0.0.2"
arbitrary = { version = "1.0.0", optional = true, features = ["derive"] }
ipnet = "2.3.0"
maybe-owned = "0.3.4"
fs-set-times = "0.19.0"
io-extras = "0.17.0"
io-lifetimes = { version = "1.0.0", default-features = false }
[dev-dependencies]
cap-tempfile = { path = "../cap-tempfile" }
[target.'cfg(not(windows))'.dependencies]
rustix = { version = "0.37.9", features = ["fs", "process", "procfs", "termios", "time"] }
[target.'cfg(windows)'.dependencies]
winx = "0.35.0"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.48.0"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Kernel",
"Win32_System_WindowsProgramming",
]