| Crates.io | anyfs-sqlite |
| lib.rs | anyfs-sqlite |
| version | 0.1.0-pre.0 |
| created_at | 2026-01-19 21:25:52.74426+00 |
| updated_at | 2026-01-19 21:25:52.74426+00 |
| description | SQLite backend for AnyFS with optional encryption support |
| homepage | |
| repository | https://github.com/DK26/anyfs-sqlite |
| max_upload_size | |
| id | 2055395 |
| size | 27,760 |
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.
.db fileencryption feature[dependencies]
anyfs-sqlite = "0.1"
# For encryption support:
anyfs-sqlite = { version = "0.1", features = ["encryption"] }
use anyfs::FileStorage;
use anyfs_sqlite::SqliteBackend;
// Simple usage
let backend = SqliteBackend::open("data.db")?;
let fs = FileStorage::new(backend);
fs.write("/hello.txt", b"Hello, world!")?;
// With encryption (requires `encryption` feature)
let backend = SqliteBackend::open_encrypted("secure.db", "my-password")?;
```ocumentation
- **[AnyFS Design Manual](https://dk26.github.io/anyfs-design-manual/)** - Full architecture and API documentation
- **[Backends Guide](https://dk26.github.io/anyfs-design-manual/guides/backends-guide.html)** - Backend implementation details
- **[ADR-009: Ecosystem Crates](https://dk26.github.io/anyfs-design-manual/architecture/adrs.html#adr-009-simple-backends-in-anyfs-complex-backends-as-ecosystem-crates)** - Why SqliteBackend is a separate crate
See the [AnyFS Design Manual](https://dk26.github.io/anyfs-design-manual/) for architecture details.
## License
Licensed under either of:
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
at your option.