1 unstable release

Uses old Rust 2015

0.0.1 Jan 29, 2017

#30 in #memcached

Apache-2.0

650KB
1.5K SLoC

MemCached Binary Protocol Revamp Parser

Docs

The goal of this crate to start building a memcached rust client.

This crate implements an elementary level packet parser/encoder. The custom semantics around individual opcode's extra fields is not handled in this release. They will be in the future.

This crate does NO verification data while encoding. So it on the library implementary to ensure it follows the basic rules of MBPR for communicating to a server. (Key <= 250 ASCII characters, Body <= 2MB, etc.)

####Import

[dependencies]
mbpr = "0.0.1"

lib.rs:

Nom based decoder for Memcached Binary Packet Protol

Supports all current opcodes. The goal of this interface is simplicity and speed. There is very little validation done on packet construction the expectation of that is placed on higher libraries.

The parsing is fairly strict.

For examples please see tests directory or keep reading.

This was created based on Memcached Wiki

Dependencies