chore: update async-compat to release 0.2 (tokio 1.0 support)

This commit is contained in:
Ryan Leckey 2021-01-26 01:02:33 -08:00
parent 55e2510f24
commit 965389557e
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9
3 changed files with 6 additions and 4 deletions

3
Cargo.lock generated
View File

@ -40,7 +40,8 @@ dependencies = [
[[package]]
name = "async-compat"
version = "0.2.0"
source = "git+https://github.com/smol-rs/async-compat?branch=master#e1c197b19788fb8f449c72095bf7a9e72e3b95b0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "061f9496add0ee6539db53f2f88b073c6ee564232aaafed2681731fcee8d28c2"
dependencies = [
"futures-core",
"futures-io",

5
examples/Cargo.lock generated
View File

@ -38,8 +38,9 @@ dependencies = [
[[package]]
name = "async-compat"
version = "0.1.5"
source = "git+https://github.com/taiki-e/async-compat?branch=tokio1#8d87a0917ebe27e4e3caa944d2991d26b1050fb0"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "061f9496add0ee6539db53f2f88b073c6ee564232aaafed2681731fcee8d28c2"
dependencies = [
"futures-core",
"futures-io",

View File

@ -43,7 +43,7 @@ actix-rt = { version = "2.0.0-beta.2", optional = true }
_async-std = { version = "1.8", optional = true, package = "async-std" }
futures-util = { version = "0.3", optional = true, features = ["io"] }
_tokio = { version = "1.0", optional = true, package = "tokio", features = ["net", "io-util"] }
async-compat = { version = "*", git = "https://github.com/smol-rs/async-compat", branch = "master", optional = true }
async-compat = { version = "0.2", optional = true }
futures-io = { version = "0.3", optional = true }
futures-core = { version = "0.3", optional = true }
bytes = "1.0"