mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Replace some more futures_util APIs with std variants (#3874)
This commit is contained in:
@@ -33,7 +33,7 @@ sqlx = { workspace = true, default-features = false, features = [
|
||||
"migrate",
|
||||
"any",
|
||||
] }
|
||||
futures = "0.3.19"
|
||||
futures-util = { version = "0.3.19", features = ["alloc"] }
|
||||
clap = { version = "4.3.10", features = ["derive", "env", "wrap_help"] }
|
||||
clap_complete = { version = "4.3.1", optional = true }
|
||||
chrono = { version = "0.4.19", default-features = false, features = ["clock"] }
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
use std::future::Future;
|
||||
use std::io;
|
||||
use std::time::Duration;
|
||||
|
||||
use anyhow::Result;
|
||||
use futures::{Future, TryFutureExt};
|
||||
use futures_util::TryFutureExt;
|
||||
|
||||
use sqlx::{AnyConnection, Connection};
|
||||
use tokio::{select, signal};
|
||||
|
||||
Reference in New Issue
Block a user