memcache 0.0.9

memcached client for rust, use FFI and libmemcached
docs.rs failed to build memcache-0.0.9
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: memcache-0.17.2

rust-memcache

Memcached client for rust, using libmemcached and rust FFI;

Dependences

  • brew install libmemcached

Usage

let client = memcache::connect("localhost", 2333).unwrap();
client.flush(0).unwrap();

client.set_raw("foo", &[0x1u8, 0x2u8, 0x3u8], 0, 42).unwrap();

let (value, flags) = client.get_raw("foo").unwrap();
assert!(value == &[0x1u8, 0x2u8, 0x3u8]);
assert!(flags == 42);

TODO

  • build on linux
  • more command
  • multi server support
  • typed interface
  • memory leak check
  • document

License

MIT