[package]
name = "cap-fs-ext"
version = "3.4.1"
description = "Extension traits for `Dir`, `File`, etc."
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 = ["filesystem"]
categories = ["filesystem"]
repository = "https://github.com/bytecodealliance/cap-std"
edition = "2021"
[dependencies]
arf-strings = { version = "0.7.0", optional = true }
cap-async-std = { path = "../cap-async-std", optional = true, version = "3.4.1" }
cap-std = { path = "../cap-std", optional = true, version = "3.4.1" }
cap-primitives = { path = "../cap-primitives", version = "3.4.1" }
io-lifetimes = { version = "2.0.0", default-features = false }
async-std = { version = "1.13.0", features = ["io_safety", "attributes"], optional = true }
async-trait = { version = "0.1.42", optional = true }
camino = { version = "1.0.5", optional = true }
[features]
default = ["std"]
fs_utf8 = ["cap-std/fs_utf8", "camino"]
arf_strings = ["cap-std/arf_strings", "fs_utf8", "arf-strings"]
std = ["cap-std"]
async_std = ["cap-async-std", "async-std", "io-lifetimes/async-std", "async-trait"]
async_std_fs_utf8 = ["cap-async-std/fs_utf8", "camino"]
async_std_arf_strings = ["cap-async-std/arf_strings", "async_std_fs_utf8", "arf-strings"]
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52.0"
features = [
"Win32_Storage_FileSystem",
]
[dev-dependencies]
cap-tempfile = { path = "../cap-tempfile" }