diff --git a/Cargo.toml b/Cargo.toml index f7696c3e19..60e74cce6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ want = "0.3" # Optional libc = { version = "0.2", optional = true } -socket2 = { version = "0.4.7", optional = true, features = ["all"] } +socket2 = { version = ">=0.4.7, <0.6.0", optional = true, features = ["all"] } [dev-dependencies] futures-util = { version = "0.3", default-features = false, features = ["alloc"] }