2 releases
0.9.1 | Feb 24, 2022 |
---|---|
0.9.0 | Feb 20, 2022 |
#324 in Caching
Used in kalgan
6KB
60 lines
kalgan-cache
A wrapper for redis crate used by Kalgan Framework.
Examples
use kalgan_cache::Cache;
let cache: Cache = Cache::new(env::var("REDIS_SERVER").unwrap().to_string());
cache.insert("key", "value");
cache.delete("key");
cache.exists("key");
let key: String = cache.get("key").unwrap();
Documentation
For further information please visit:
License
This crate is licensed under either of the following licenses:
lib.rs
:
A wrapper for redis
crate.
Dependencies
~3.5–5MB
~93K SLoC