https://github.com/anonyfox/wired
WIP: Collection of embeddable database models for Rust.
https://github.com/anonyfox/wired
data-structures database embedded-database learning-exercise rust
Last synced: 3 months ago
JSON representation
WIP: Collection of embeddable database models for Rust.
- Host: GitHub
- URL: https://github.com/anonyfox/wired
- Owner: Anonyfox
- License: mit
- Created: 2020-04-13T11:54:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T18:16:33.000Z (over 5 years ago)
- Last Synced: 2025-08-03T09:14:57.219Z (6 months ago)
- Topics: data-structures, database, embedded-database, learning-exercise, rust
- Language: Rust
- Homepage:
- Size: 77.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wired
WIP: Collection of embeddable database models for Rust.
[](https://docs.rs/wired)
[](https://crates.io/crates/wired)

## Features
- **schema-free**: use anything that can be serialized with serde/bincode
- **portable**: every database is persisted with a single memory-mapped binary file
- **lightweight**: pure Rust implementation without many internal dependencies
- **broadly available**: works on current stable rust
- **efficient**: uses a self-managed block storage that recycles memory
- **fast**: reading and writing should both be a `O(1)` operation
## Work in Progress
This is a personal learning project and existing APIs may change any time.
Also, the format of the binary encoded files might not be compatible between
versions. Once everything is stable I will release a version 1.0 and backwards
compatibility will be guaranteed.
In the mean time, I would love to get feedback on how the databases work in
real world use cases and where some bugs are lurking. This will stabilize the
lib faster and I might learn more from your feedback!
## Available Models
- [x] Stack
- [x] Queue
- [ ] Log
- [x] Key-Value
- [ ] Document
- [ ] Graph
- [ ] Tabular
- [ ] Relational
## License
MIT