diff --git a/Cargo.toml b/Cargo.toml index e5249ca..88a92ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ slab = "0.4.2" socket2 = { version = "0.3.12", features = ["pair", "unix"] } [dependencies.tokio] -version = "0.2.19" +version = "0.2" default-features = false features = ["rt-threaded"] optional = true diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 1ad5539..c0f5d32 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -34,7 +34,7 @@ signal-hook = "0.1.13" smol = { path = "../", features = ["tokio02"] } surf = { version = "2.0.0-alpha.1", default-features = false, features = ["h1-client"] } tempfile = "3.1.0" -tokio = { version = "0.2.18", default-features = false } +tokio = { version = "0.2", default-features = false } tungstenite = "0.10.1" url = "2.1.1"