mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
chore: clean up no longer used imports (#3845)
Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
parent
91d26bad4d
commit
5736ab6c21
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user