Skip to content

Commit

Permalink
<fix>: Correct snafu features (#21007)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andrewthad committed Aug 6, 2024
1 parent 2fbb072 commit 1c6db37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 1c6db37

Please sign in to comment.