fix(mock): sqlx_core::Async is only available if feature = "async"

This commit is contained in:
Ryan Leckey 2021-01-20 19:43:19 -08:00
parent 02524b24c1
commit e10f1bf5d5
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9

View File

@ -98,6 +98,7 @@ impl MockStream {
}
}
#[cfg(feature = "async")]
impl crate::Async for Mock {}
impl<'s> IoStream<'s, Mock> for MockStream {