Crates.io | crabdis |
lib.rs | crabdis |
version | 0.1.13 |
source | src |
created_at | 2024-03-11 00:58:09.777959 |
updated_at | 2024-09-10 14:46:24.745084 |
description | It's like Redis but a bit rusty... |
homepage | https://github.com/pxseu/crabdis#readme |
repository | https://github.com/pxseu/crabdis |
max_upload_size | |
id | 1169073 |
size | 96,531 |
It's like Redis but a bit rusty...
This is a simple in-memory key-value store written in Rust. It's somewhat compatible with Redis via the RESP protocol, but it's not a drop-in replacement. A lot of commands are missing and stuff might not work as expected.
Please don't use this in production. Or do, I'm not your mom. But don't blame me if it eats your data.
I wanted to write Redis but multi-threaded and in Rust. This is the result. Works? Kinda. Is it good? Maybe. Is it fast? Yes.
You can find binaries on the releases page. Or you can build it yourself with cargo build --release
.
If you want to install it with cargo, you can do so with cargo install crabdis
.
There is also a Docker image available on Docker Hub.
crabdis
This will start the server on 127.0.0.1:6379
. You can change the address and port with the --address
and --port
flags.
This project is licensed under the MIT License.