memcache 0.0.10

memcached client for rust

rust-memcache

Build Status Crates.io

Memcached client for rust.

Usage

let mut conn = memcache::connection::connect("127.0.0.1:12345").unwrap();
conn.flush().unwrap();
let value = &memcache::value::Value{bytes: b"bar", flags: 0};
conn.set("foo", value, 42).unwrap();
conn.get(&["foo", "bar", "baz"]).unwrap();

TODO

  • Ascii protocal
  • Binary protocal
  • Multi server support
  • Typed interface
  • Documents

License

MIT