Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit a12e0f8

Browse files
author
Julius de Bruijn
committed
Allow switching of runtime in mobc
1 parent 3168c3b commit a12e0f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ tracing-log = ["tracing", "tracing-core"]
5555
array = []
5656
serde-support = ["serde", "chrono/serde"]
5757

58-
runtime-tokio = ["tokio", "tokio-util", "sqlx/runtime-tokio", "tiberius/sql-browser-tokio"]
59-
runtime-async-std = ["async-std", "sqlx/runtime-async-std", "tiberius/sql-browser-async-std"]
58+
runtime-tokio = ["tokio", "tokio-util", "sqlx/runtime-tokio", "tiberius/sql-browser-tokio", "mobc/tokio"]
59+
runtime-async-std = ["async-std", "sqlx/runtime-async-std", "tiberius/sql-browser-async-std", "mobc/async-std"]
6060

6161
[dependencies]
6262
url = "2.1"
@@ -85,7 +85,7 @@ log = { version = "0.4", features = ["release_max_level_trace"] }
8585
tracing = { version = "0.1", optional = true }
8686
tracing-core = { version = "0.1", optional = true }
8787

88-
mobc = { version = "0.5.7", optional = true }
88+
mobc = { version = "0.5.7", optional = true, default-features = false, features = ["unstable"] }
8989
bytes = { version = "0.5", optional = true }
9090
tokio = { version = "0.2", features = ["rt-threaded", "macros", "sync"], optional = true}
9191
tokio-util = { version = "0.3", features = ["compat"], optional = true }

0 commit comments

Comments
 (0)