wired
WIP: Collection of embeddable database models for Rust.
Features
- schema-free: use anything that can be serialized with serde
- portable: every database is persisted with a single memory-mapped binary file
- lightweight: pure Rust implementation without many internal dependencies
Available Models
- Stack
- Queue
- Key-Value
- Document
- Graph
- Tabular
- Relational
Copy-On-Write
Every database type uses a "copy-on-write"-mechanism. Therefore, any time a new
record is persisted or an existing record is updated, the database file will
grow accordingly. This results in really fast write operations in exchange for
a larger-than-neccessary data file on disk. It is possible to defragment a
database file by calling the compact() method, though.
License
MIT