diff --git a/Cargo.toml b/Cargo.toml index 1e7c7c8..144ec1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vinted-rs" -version = "0.9.1" +version = "0.9.2" edition = "2021" repository = "https://github.com/TuTarea/vinted-rs" authors = [ @@ -34,7 +34,7 @@ reqwest_cookie_store = "0.8" typed-builder = "0.20" fang = { version = "0.10.3", features = ["asynk"], default-features = false } redis-macros = { version = "0.4.2", optional = true } -redis = { version = "0.27.2", optional = true } +redis = { version = "0.27.2", optional = true, features = ["tokio-comp", "aio"] } serde_json = { version = "1.0.91" } log = "0.4.20" lazy_static = "1.4.0" diff --git a/src/lib.rs b/src/lib.rs index 39ab1c8..68e2831 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -95,3 +95,11 @@ pub use queries::VintedWrapper; pub use queries::VintedWrapperError; #[cfg(test)] pub mod tests; + +#[cfg(feature = "redis")] +#[doc(hidden)] +pub extern crate redis; + +#[cfg(feature = "redis")] +#[doc(hidden)] +pub extern crate redis_macros;