5 releases (breaking)
0.5.0 | Sep 5, 2022 |
---|---|
0.4.0 | Apr 4, 2022 |
0.3.0 | Feb 11, 2022 |
0.2.0 | Oct 29, 2021 |
0.1.0 | Oct 7, 2021 |
#1985 in Database interfaces
1,575 downloads per month
46KB
1K
SLoC
vmemcached
vmemcached is a memcached client written in pure Rust.
Install
The crate is called vmemcached
and you can depend on it via cargo:
[dependencies]
vmemcached = "0.5"
Features
- ASCII protocol
- Key interpreted as slice of u8 (bytes)
- Value is accepted as implementing Serialize and is stored as JSON using serde_json crate
- Not supported: increment/decrement/append/prepend/gets operations due to JSON and compression
- Feature: "compress" enable Brotli encoding/decoding
- Tokio
- bb8 async connection pool
- Nom for parsing memcached ASCII protocol
Development
To start:
make test
License
MIT
lib.rs
:
Vinted Rust memcache
Dependencies
~11–22MB
~361K SLoC