11 unstable releases

Uses old Rust 2015

0.6.0 Jan 7, 2021
0.5.0 Dec 28, 2019
0.4.0 Aug 25, 2019
0.3.0 Jan 4, 2019
0.1.0 Jan 18, 2017

#801 in Database interfaces

Download history 119/week @ 2024-06-16 159/week @ 2024-06-23 151/week @ 2024-06-30 166/week @ 2024-07-07 211/week @ 2024-07-14 262/week @ 2024-07-21 276/week @ 2024-07-28 243/week @ 2024-08-04 174/week @ 2024-08-11 98/week @ 2024-08-18 96/week @ 2024-08-25 140/week @ 2024-09-01 250/week @ 2024-09-08 132/week @ 2024-09-15 196/week @ 2024-09-22 122/week @ 2024-09-29

720 downloads per month
Used in 4 crates (3 directly)

MIT license

1MB
1.5K SLoC

JavaScript 1K SLoC // 0.0% comments Rust 63 SLoC

Contains (WOFF font, 120KB) target/doc/Heuristica-Italic.woff, (WOFF font, 90KB) target/doc/FiraSans-Medium.woff, (WOFF font, 92KB) target/doc/FiraSans-Regular.woff, (WOFF font, 56KB) target/doc/SourceCodePro-Regular.woff, (WOFF font, 56KB) target/doc/SourceCodePro-Semibold.woff, (WOFF font, 49KB) target/doc/SourceSerifPro-Bold.woff and 1 more.

r2d2-memcache

Build Status Latest Version Docs

Install

Add this to your Cargo.toml:

[dependencies]
r2d2-memcache = "0.2.0"

Basic Usage

extern crate r2d2_memcache;

fn main() {
    let manager = r2d2_memcache::MemcacheConnectionManager::new("memcache://localhost:11211");
    let pool = r2d2_memcache::r2d2::Pool::builder().max_size(15).build(manager).unwrap();

    let mut conn = pool.get().unwrap();
    conn.flush().unwrap();
    let value = "bar";
    conn.set("foo_get", value, 10).unwrap();
    let result: String = conn.get("foo_get").unwrap().unwrap();
    assert!(result == "bar");
}

License

Dependencies

~2.2–7.5MB
~77K SLoC