Crates.io | foobar_db |
lib.rs | foobar_db |
version | 0.0.1 |
source | src |
created_at | 2024-11-30 15:06:31.089691 |
updated_at | 2024-11-30 15:06:31.089691 |
description | FoobarDB is an in-memory database implemented in Rust that supports the RESP protocol. |
homepage | |
repository | https://github.com/daydaydrunk/foobar_db |
max_upload_size | |
id | 1466698 |
size | 142,612 |
███████╗ ██████╗ ██████╗ ██████╗ █████╗ ██████╗ ██████╗ ██████╗
██╔════╝██╔═══██╗██╔═══██╗██╔══██╗██╔══██╗██╔══██╗ ██╔══██╗██╔══██╗
█████╗ ██║ ██║██║ ██║██████╔╝███████║██████╔╝ ██║ ██║██████╔╝
██╔══╝ ██║ ██║██║ ██║██╔══██╗██╔══██║██╔══██╗ ██║ ██║██╔══██╗
██║ ╚██████╔╝╚██████╔╝██████╔╝██║ ██║██║ ██║ ██████╔╝██████╔╝
╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝
FoobarDB is an in-memory database implemented in Rust that supports the RESP V3 protocol. This project is for learning and research purposes. I aim to familiarize myself with Rust coding by implementing an in-memory database.
git clone https://github.com/yourusername/foobardb.git
cd foobardb
cargo build --release
cargo run --release --bin foobar_db
You can use any client that supports the RESP protocol to interact with FoobarDB. Here is a simple example using redis-cli
to connect to FoobarDB:
redis-cli -h 127.0.0.1 -p 6379
In redis-cli
, you can execute the following commands:
SET foo bar
GET foo
DEL foo
We welcome contributions! Please follow these steps:
git checkout -b feature/fooBar
)git commit -am 'Add some fooBar'
)git push origin feature/fooBar
)FoobarDB is licensed under the MIT License. For more information, please see the LICENSE file.