Crates.io | memcache-async |
lib.rs | memcache-async |
version | 0.8.0 |
source | src |
created_at | 2019-03-17 05:58:26.971856 |
updated_at | 2024-06-06 22:31:20.884277 |
description | A no-frills async memcached client for Rust. |
homepage | https://github.com/vavrusa/memcache-async |
repository | https://github.com/vavrusa/memcache-async |
max_upload_size | |
id | 121519 |
size | 35,360 |
memcache-async is an async memcached client implementation.
The crate is called memcache-async
and you can depend on it via cargo:
[dependencies]
memcache-async = "0.7"
The crate implements the protocol on any stream implementing AsyncRead + AsyncWrite
.
The crate works with byte slices for values, the caller should implement deserialization if desired. See examples for usage. E.g. after start a memcached instance locally, the following example code could be run:
cargo run --example tcp-simple 127.0.0.1:11211
MIT