| Crates.io | keyz |
| lib.rs | keyz |
| version | 1.0.4 |
| created_at | 2023-01-27 17:38:25.02267+00 |
| updated_at | 2023-02-06 13:07:18.979678+00 |
| description | keyz client for Rust |
| homepage | |
| repository | https://github.com/viktor111/keyz |
| max_upload_size | |
| id | 769816 |
| size | 27,756 |
Simple async key value store with rust and tokio
7667cargo install keyzkeyzdocker pull zvado1/keyzsudo docker run --network host -d keyzSET [key] [value]
SET [key] [value] EX [seconds]
GET [key]
EXIN [key]
DEL [key]
CLOSE
SET text some text blah
text key with value some text blahSET user:1 { "username": "testUsername", "password": "hashedandsecrurepass" }
user:1 wit value { "username": "testUsername", "password": "hashedandsecrurepass" }user:1 because there might many users in your appSET user:1 { "username": "testUsername", "password": "hashedandsecrurepass" } EX 60
EX 60 at the end so the user:1 key will expire in 60 secondsGET user:1
user:1 keynullEXIN user:1
DEL user:1
user:1user:1Features besides the base SET GET DEL