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

Download history 559/week @ 2024-07-21 243/week @ 2024-07-28 764/week @ 2024-08-04 678/week @ 2024-08-11 503/week @ 2024-08-18 622/week @ 2024-08-25 504/week @ 2024-09-01 597/week @ 2024-09-08 382/week @ 2024-09-15 738/week @ 2024-09-22 370/week @ 2024-09-29 323/week @ 2024-10-06 297/week @ 2024-10-13 529/week @ 2024-10-20 363/week @ 2024-10-27 374/week @ 2024-11-03

1,575 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–22MB
~361K SLoC