| Crates.io | crystal |
| lib.rs | crystal |
| version | 0.0.1-alpha1 |
| created_at | 2025-01-08 09:35:33.134092+00 |
| updated_at | 2025-01-08 09:37:43.921615+00 |
| description | Crystal, a simple database. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1508352 |
| size | 19,271 |
Crystal is a simple, persistent key-value store implemented in Rust with a REPL interface.
cargo build --release
Start the REPL:
cargo run --features repl
crystal> set name Alice
crystal> get name
Alice
crystal> rm name
crystal> get name
Key not found
crystal> exit
set [key] [value] - Store a key-value pairget [key] - Retrieve a value by keyrm [key] - Remove a key-value pairexit - Exit the REPLData is stored in binary format in the ./data directory. Command history is stored in history.txt.
Apache 2.0 - See LICENSE for details.