Skip to content

Commit e77ef84

Browse files
committed
Depend on tokio/net with async-connection-wrapper
This is needed because tokio::runtime::Builder.enable_io is called. Which is only available with specific tokio features.
1 parent fec4622 commit e77ef84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ diesel_migrations = "2.1.0"
3838
default = []
3939
mysql = ["diesel/mysql_backend", "mysql_async", "mysql_common", "futures-channel", "tokio"]
4040
postgres = ["diesel/postgres_backend", "tokio-postgres", "tokio", "tokio/rt"]
41-
async-connection-wrapper = []
41+
async-connection-wrapper = ["tokio/net"]
4242
r2d2 = ["diesel/r2d2"]
4343

4444
[[test]]

0 commit comments

Comments
 (0)