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
somewhere in the dependency tree.default-features = false - 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.