anyfs-sqlite
SQLite backend for AnyFS - store virtual filesystems in a single database file.
⚠️ Pre-release: This crate is reserved for future development. Not yet functional.
📖 Documentation: See the AnyFS Design Manual for full architecture and API documentation.
Features
- Single-file storage - Entire filesystem in one
.dbfile - Optional encryption - AES-256 via SQLCipher with
encryptionfeature - Connection pooling - Efficient concurrent access
- WAL mode - Better write performance
- Auto-sharding - Split large databases automatically
Installation
[]
= "0.1"
# For encryption support:
= { = "0.1", = ["encryption"] }
Usage
use FileStorage;
use SqliteBackend;
// Simple usage
let backend = open?;
let fs = new;
fs.write?;
// With encryption (requires `encryption` feature)
let backend = open_encrypted?;
```ocumentation
- **