redis-config
Implementation of Redis source as Async source for config-rs crate.
Usage
# Cargo.toml
[]
= "*"
Feature flags
tokio-comp- enables support for tokio runtime (enabled by default)async-std-comp- enables support for async-std runtime (optional)ahash- enables ahash map/set support & uses ahash internally (+7-10% performance) (optional)
Examples
use AsyncState;
use RedisSource;
async
let config = get_config.await.unwrap;
More
See the documentation for more usage information.
License
redis_config is primarily distributed under the terms of both the MIT license.
See LICENSE-MIT for details.