refactor: remove direct actix-rt support (#1679)

actix- runtime feature flags are now aliases for tokio- flags
This commit is contained in:
Rob Ede
2022-08-02 06:48:40 +02:00
committed by GitHub
parent 9a6d07f10a
commit 7adbb7fefc
16 changed files with 34 additions and 157 deletions

View File

@@ -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? {