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

#2257 in Database interfaces

Download history 443/week @ 2024-01-05 328/week @ 2024-01-12 544/week @ 2024-01-19 312/week @ 2024-01-26 582/week @ 2024-02-02 766/week @ 2024-02-09 644/week @ 2024-02-16 665/week @ 2024-02-23 353/week @ 2024-03-01 432/week @ 2024-03-08 676/week @ 2024-03-15 927/week @ 2024-03-22 614/week @ 2024-03-29 345/week @ 2024-04-05 291/week @ 2024-04-12 515/week @ 2024-04-19

1,920 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

~9–21MB
~356K SLoC