[package]
edition = "2021"
name = "cap-tempfile"
version = "4.0.3"
authors = [
"Dan Gohman <dev@sunfishcode.online>",
"Jakub Konka <kubkon@jakubkonka.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Capability-based temporary directories"
readme = "README.md"
keywords = [
"filesystem",
"tmpfile",
"tempfile",
]
categories = ["filesystem"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/cap-std"
[features]
arf_strings = ["cap-std/arf_strings"]
default = []
fs_utf8 = [
"cap-std/fs_utf8",
"camino",
]
[lib]
name = "cap_tempfile"
path = "src/lib.rs"
[dependencies.camino]
version = "1.0.5"
optional = true
[dependencies.cap-std]
version = "^4.0.3"
[dependencies.uuid]
version = "1.0.0"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3.23.0"
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies.rustix-linux-procfs]
version = "0.1.1"
[target."cfg(not(windows))".dependencies.rustix]
version = "1.0.0"
[target.'cfg(target_os = "emscripten")'.dependencies.rand]
version = "0.9.2"
[target."cfg(windows)".dependencies.windows-sys]
version = ">=0.60, <0.62"
features = ["Win32_Foundation"]