From 1c6db376890fb07b4ed58f6a19585c0ff383a8fe Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Tue, 6 Aug 2024 12:23:39 -0400 Subject: [PATCH] : Correct snafu features (#21007) Enable std feature on snafu Snafu does not build if the futures feature is enabled and the std feature is disabled. Snafu was already being built with the std feature enabled because some other dependency of vector happened to enable it. This commit just makes the existing implicit feature dependency explicit instead. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1fc8ed9876702..ceac9c8defceb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -332,7 +332,7 @@ rumqttc = { version = "0.24.0", default-features = false, features = ["use-rustl seahash = { version = "4.1.0", default-features = false } semver = { version = "1.0.23", default-features = false, features = ["serde", "std"], optional = true } smallvec = { version = "1", default-features = false, features = ["union", "serde"] } -snafu = { version = "0.7.5", default-features = false, features = ["futures"] } +snafu = { version = "0.7.5", default-features = false, features = ["futures", "std"] } snap = { version = "1.1.1", default-features = false } socket2 = { version = "0.5.7", default-features = false } stream-cancel = { version = "0.8.2", default-features = false }