From 3ffdd8f86f1f7b044ec073a61370b63e35c4babb Mon Sep 17 00:00:00 2001 From: tison Date: Sun, 27 Apr 2025 19:42:37 +0800 Subject: [PATCH] chore: clean up no longer used imports Signed-off-by: tison --- sqlx-core/src/sync.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sqlx-core/src/sync.rs b/sqlx-core/src/sync.rs index 27ad29c33e..14525611a0 100644 --- a/sqlx-core/src/sync.rs +++ b/sqlx-core/src/sync.rs @@ -4,12 +4,6 @@ // We'll generally lean towards Tokio's types as those are more featureful // (including `tokio-console` support) and more widely deployed. -#[cfg(all(feature = "_rt-async-std", not(feature = "_rt-tokio")))] -pub use async_std::sync::{Mutex as AsyncMutex, MutexGuard as AsyncMutexGuard}; - -#[cfg(feature = "_rt-tokio")] -pub use tokio::sync::{Mutex as AsyncMutex, MutexGuard as AsyncMutexGuard}; - pub struct AsyncSemaphore { // We use the semaphore from futures-intrusive as the one from async-std // is missing the ability to add arbitrary permits, and is not guaranteed to be fair: