Skip to content

Commit defb1af

Browse files
committed
Fix tokio dependency features
1 parent 4f9b06f commit defb1af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

postgres/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ edition = "2018"
1919
async-trait = "0.1"
2020
bb8 = { path = "../bb8" }
2121
futures = "0.3"
22-
tokio = { version = "0.2", features = ["macros"] }
22+
tokio = { version = "0.2", features = ["rt-core"] }
2323
tokio-postgres = "0.5.1"
2424

2525
[dev-dependencies]
2626
hyper = { version = "0.13" }
27+
tokio = { version = "0.2", features = ["rt-threaded"] }

redis/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ edition = "2018"
1111
async-trait = "0.1"
1212
bb8 = { path = "../bb8" }
1313
futures = "0.3"
14-
tokio = "0.2"
1514
redis = "0.15"

0 commit comments

Comments
 (0)