Cargo Features

[dependencies]
virtual-fs = { version = "0.19.0", default-features = false, features = ["host-fs", "webc-fs", "static-fs", "enable-serde", "no-time", "tracking", "futures"] }
default = host-fs, static-fs, webc-fs

These default features are set whenever virtual-fs is added without default-features = false somewhere in the dependency tree.

host-fs default = filetime, fs_extra, libc

Enables fs, io-std and rt of tokio

Affects virtual-fs::host_fs

webc-fs default = anyhow, webc
static-fs default = anyhow, webc

Affects virtual-fs::static_fs

enable-serde = serde, typetag
no-time
tracking

Enables memory tracking/limiting functionality for the in-memory filesystem.

futures

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

anyhow static-fs webc-fs
filetime host-fs
fs_extra host-fs
libc host-fs
typetag enable-serde?

Enables typetag ^0.1

webc static-fs webc-fs
serde enable-serde?