deadpool-memcached

Dead simple async pool for memcached

6 releases

0.3.2 May 4, 2024
0.3.1 Apr 6, 2024
0.3.0 Mar 31, 2024
0.2.0 Sep 26, 2023
0.1.0 Aug 13, 2020

#2434 in Database interfaces

Download history 260/week @ 2024-06-13 7/week @ 2024-06-20 7/week @ 2024-06-27 11/week @ 2024-07-04 11/week @ 2024-07-18 59/week @ 2024-07-25 8/week @ 2024-08-01 14/week @ 2024-08-29 8/week @ 2024-09-05 279/week @ 2024-09-12 691/week @ 2024-09-19 531/week @ 2024-09-26

1,509 downloads per month

MIT/Apache

79KB
1.5K SLoC

Deadpool for Memcached Latest Version Rust 1.75+

Deadpool is a dead simple async pool for connections and objects of any type.

This crate implements a deadpool manager for async-memcached.

Example

use deadpool_memcached::Manager;

#[tokio::main]
async fn main() {
    let manager = Manager::new("localhost:11211");
    let mut client = pool.get().await.unwrap();
    println!("version: {:?}", client.version().await);
}

License

Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT).


lib.rs:

Deadpool for Memcache

Deadpool is a dead simple async pool for connections and objects of any type.

This crate implements a deadpool manager for async-memcached. We specifically force users to connect via TCP as there is no existing mechanism to parameterize how to deal with different unerlying connection types at the moment.

Dependencies

~4–13MB
~146K SLoC