virtual-fs 0.6.0

Wasmer Virtual FileSystem
Documentation
[package]
name = "virtual-fs"
version = "0.6.0"
description = "Wasmer Virtual FileSystem"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
libc = { version = "^0.2", default-features = false, optional = true }
thiserror = "1"
futures = { version = "0.3" }
tracing = { version = "0.1" }
typetag = { version = "0.1", optional = true }
webc = { version = "5.0", optional = true }
slab = { version = "0.4" }
derivative = "2.2.0"
anyhow = { version = "1.0.66", optional = true }
async-trait = { version = "^0.1" }
lazy_static = "1.4"
fs_extra = { version = "1.2.0", optional = true }
filetime = { version = "0.2.18", optional = true }
bytes = "1"
tokio = { version = "1", features = ["io-util", "sync", "macros"], default_features = false }
pin-project-lite = "0.2.9"
indexmap = "1.9.2"
replace_with = "0.1.7"

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies]
getrandom = { version = "0.2" }

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
getrandom = { version = "0.2", features = [ "js" ] }

[dev-dependencies]
pretty_assertions = "1.3.0"
tempfile = "3.4.0"
tokio = { version = "1", features = ["io-util", "rt"], default_features = false }

[features]
default = ["host-fs", "webc-fs", "static-fs"]
host-fs = ["libc", "fs_extra", "filetime", "tokio/fs", "tokio/io-std"]
webc-fs = ["webc", "anyhow"]
static-fs = ["webc", "anyhow"]
enable-serde = ["typetag"]
no-time = []
# Enables memory tracking/limiting functionality for the in-memory filesystem.
tracking = []