From 965389557e591a57c98101dc836e22ffd5eb8dc8 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Tue, 26 Jan 2021 01:02:33 -0800 Subject: [PATCH] chore: update async-compat to release 0.2 (tokio 1.0 support) --- Cargo.lock | 3 ++- examples/Cargo.lock | 5 +++-- sqlx-core/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 496a9bf1..0d2fc084 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/examples/Cargo.lock b/examples/Cargo.lock index 9554600c..cc82e8d2 100644 --- a/examples/Cargo.lock +++ b/examples/Cargo.lock @@ -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", diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 22fe7d8d..bde601b0 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -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"