From 884629fc148a8e2933ceb8c307bdb541907903f8 Mon Sep 17 00:00:00 2001 From: "Michael P. Jung" Date: Tue, 26 Sep 2023 08:16:27 +0000 Subject: [PATCH] Fix deadpool-memcached build --- memcached/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/memcached/Cargo.toml b/memcached/Cargo.toml index d2f90cfc..4e139d33 100644 --- a/memcached/Cargo.toml +++ b/memcached/Cargo.toml @@ -30,3 +30,8 @@ deadpool = { path = "../", version = "0.10.0", default-features = false, feature ] } futures = { version = "0.3", features = ["compat"] } log = "0.4" +# This crate doesn't directly depend on tokio but async-memcached 0.1.7 +# broke the build by forgetting to add the "net" feature to the tokio +# dependency. Once async-memcached is fixed this dependency can be removed +# again. +tokio = { version = "1.0", default-features = false, features = ["net"] }