#[cfg(feature = "cache_request")]
use http_cache_reqwest::{Cache, CacheMode, HttpCache, HttpCacheOptions, CacheManager};
#[cfg(all(feature = "cache_request", feature = "cache", feature = "cache_mem"))]
compile_error!("Features `cache` and `cache_mem` are mutually exclusive. Enable at most one.");
#[cfg(all(feature = "cache_request", feature = "cache", not(feature = "cache_mem")))]
use http_cache_reqwest::CACacheManager;
#[cfg(all(feature = "cache_request", feature = "cache", not(feature = "cache_mem")))]
type RequestCacheManager = CACacheManager;
#[cfg(all(feature = "cache_request", feature = "cache_mem", not(feature = "cache")))]
use http_cache_reqwest::MokaManager;
#[cfg(all(feature = "cache_request", feature = "cache_mem", not(feature = "cache")))]
type RequestCacheManager = MokaManager;
#[cfg(all(feature = "cache_request", not(feature = "cache"), not(feature = "cache_mem")))]
use http_cache_reqwest::CACacheManager;
#[cfg(all(feature = "cache_request", not(feature = "cache"), not(feature = "cache_mem")))]
type RequestCacheManager = CACacheManager;
#[cfg(feature = "cache_request")]
lazy_static::lazy_static! {
pub static ref CACACHE_MANAGER: RequestCacheManager = RequestCacheManager::default();
}