We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6893722 commit 4b22672Copy full SHA for 4b22672
sqlx-macros/src/lib.rs
@@ -28,7 +28,12 @@ use query_macros::*;
28
#[cfg(feature = "runtime-tokio")]
29
lazy_static::lazy_static! {
30
static ref BASIC_RUNTIME: tokio::runtime::Runtime = {
31
- tokio::runtime::Builder::new().threaded_scheduler().enable_all().build().expect("failed to build tokio runtime")
+ tokio::runtime::Builder::new()
32
+ .threaded_scheduler()
33
+ .enable_io()
34
+ .enable_time()
35
+ .build()
36
+ .expect("failed to build tokio runtime")
37
};
38
}
39
0 commit comments