mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-06 10:24:04 +00:00
refactor: remove direct actix-rt support (#1679)
actix- runtime feature flags are now aliases for tokio- flags
This commit is contained in:
@@ -24,7 +24,7 @@ impl<'s> MigrationSource<'s> for &'s Path {
|
||||
let mut s = fs::read_dir(self.canonicalize()?).await?;
|
||||
let mut migrations = Vec::new();
|
||||
|
||||
#[cfg(any(feature = "_rt-actix", feature = "_rt-tokio"))]
|
||||
#[cfg(feature = "_rt-tokio")]
|
||||
let mut s = tokio_stream::wrappers::ReadDirStream::new(s);
|
||||
|
||||
while let Some(entry) = s.try_next().await? {
|
||||
|
||||
Reference in New Issue
Block a user