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

#2249 in Database interfaces

Download history 561/week @ 2023-12-07 569/week @ 2023-12-14 318/week @ 2023-12-21 162/week @ 2023-12-28 415/week @ 2024-01-04 361/week @ 2024-01-11 507/week @ 2024-01-18 281/week @ 2024-01-25 656/week @ 2024-02-01 741/week @ 2024-02-08 480/week @ 2024-02-15 814/week @ 2024-02-22 401/week @ 2024-02-29 328/week @ 2024-03-07 579/week @ 2024-03-14 731/week @ 2024-03-21

2,097 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–23MB
~365K SLoC