lupabase
Lupabase is a blazingly fast (work-in-progress) database engine, written entirely in Rust. It focuses on simplicity, portability with flexible storage backends.
Features
-
Two storage backends:
Database- MemoryDB: super fast, data is lost on restart
- JsonDB: persists to disk in human-readable json format
-
Record Utilities:
DatabaseRecordsUtils- Filter records by unique key
- Detect intersecting and non-intersecting records
- Easily extract unique identifiers
-
Transactions:
DatabaseTransaction- ACID-like transaction system (Work in progress)
-
Tightly integrated with Serde:
DatabaseRecord
It is not
- A standalone database server
- A relational database
Roadmap
- Variadic / multiple table function call
- Concurrency-safe multi-threaded transactions
- Tests
Example/Usage
use *;
use ;
let users = vec!;
let uniques = users.as_uniques;
println!;
if let Some = users.find_by_unique
Status
This project is under active development and not yet production-ready. Although it is in active use for my own projects, you should expect breaking changes if you use this library in the current status.
License
All source code is licensed under MIT OR Apache-2.0. All contributions are to be licensed as MIT OR Apache-2.0.