We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91d26ba commit 5736ab6Copy full SHA for 5736ab6
sqlx-core/src/sync.rs
@@ -4,12 +4,6 @@
4
// We'll generally lean towards Tokio's types as those are more featureful
5
// (including `tokio-console` support) and more widely deployed.
6
7
-#[cfg(all(feature = "_rt-async-std", not(feature = "_rt-tokio")))]
8
-pub use async_std::sync::{Mutex as AsyncMutex, MutexGuard as AsyncMutexGuard};
9
-
10
-#[cfg(feature = "_rt-tokio")]
11
-pub use tokio::sync::{Mutex as AsyncMutex, MutexGuard as AsyncMutexGuard};
12
13
pub struct AsyncSemaphore {
14
// We use the semaphore from futures-intrusive as the one from async-std
15
// is missing the ability to add arbitrary permits, and is not guaranteed to be fair:
0 commit comments