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

#523 in Compression

Download history 365/week @ 2024-11-23 365/week @ 2024-11-30 108/week @ 2024-12-07 1/week @ 2024-12-14

87 downloads per month

MIT license

46KB
1K SLoC

vmemcached

CI

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–39MB
~632K SLoC