rust-vfs
A virtual filesystem for Rust
The virtual file system abstraction generalizes over file systems and allows using different filesystem implementations (e.g. an in memory implementation for unit tests)
This crate currently has the following implementations:
- PhysicalFS - the actual filesystem of the underlying OS
- MemoryFS - an ephemeral in-memory file system, intended mainly for unit tests
- AltrootFS - a file system with its root in a particular directory of another filesystem
The minimum supported Rust version is 1.32.0.
Comments and pull-requests welcome!
Changelog
0.3.0 (2020-08-04)
- Refactored to use a trait based design, simplifying usage and testing
0.2.1 (2020-02-06)
- Added AltrootFS (thanks @icefoxen)
0.1.0 (2016-05-14)
- Initial release
Roadmap
- Support for read-only filesystems
- Support for overlay filesystem
- Support for re-mounting filesystems
- Support for virtual filesystem access inside archives (e.g. zip)