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

#536 in Database interfaces

Download history 25/week @ 2022-11-24 38/week @ 2022-12-01 7/week @ 2022-12-08 28/week @ 2022-12-15 5/week @ 2022-12-22 31/week @ 2022-12-29 20/week @ 2023-01-05 24/week @ 2023-01-12 32/week @ 2023-01-19 29/week @ 2023-01-26 19/week @ 2023-02-02 40/week @ 2023-02-09 26/week @ 2023-02-16 25/week @ 2023-02-23 33/week @ 2023-03-02 27/week @ 2023-03-09

118 downloads per month

MIT license

46KB
986 lines

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–16MB
~318K SLoC