Skip to content

Commit ea6ae9d

Browse files
committed
use custom tokio implementation
1 parent 7382e39 commit ea6ae9d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ scoped-futures = { version = "0.1", features = ["std"] }
3636

3737
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
3838
tokio-postgres = { version = "0.7.10", optional = true }
39-
tokio = { version = "1.26", optional = true }
39+
tokio = { git = "https://github.com/Jaltaire/tokio", optional = true }
4040

4141
[target.'cfg(target_arch = "wasm32")'.dependencies]
4242
tokio-postgres = { version = "0.7.10", optional = true, default-features = false, features = ["js"] }
43-
tokio = { version = "1.26", optional = true, default-features = false }
43+
tokio = { git = "https://github.com/Jaltaire/tokio", optional = true, default-features = false }
4444
wasm-bindgen-futures = { version = "0.4.50" }
4545

4646
[dependencies.diesel]
@@ -53,7 +53,7 @@ git = "https://github.com/diesel-rs/diesel"
5353
branch = "master"
5454

5555
[dev-dependencies]
56-
tokio = { version = "1.12.0", features = ["rt", "macros", "rt-multi-thread"] }
56+
tokio = { git = "https://github.com/Jaltaire/tokio", features = ["rt", "macros", "rt-multi-thread"] }
5757
cfg-if = "1"
5858
chrono = "0.4"
5959
assert_matches = "1.0.1"

examples/postgres/pooled-with-rustls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ diesel-async = { version = "0.5.0", path = "../../../", features = ["bb8", "post
1010
futures-util = "0.3.21"
1111
rustls = "0.23.8"
1212
rustls-platform-verifier = "0.5.0"
13-
tokio = { version = "1.2.0", default-features = false, features = ["macros", "rt-multi-thread"] }
13+
tokio = { git = "https://github.com/Jaltaire/tokio", default-features = false, features = ["macros", "rt-multi-thread"] }
1414
tokio-postgres = "0.7.7"
1515
tokio-postgres-rustls = "0.13.0"
1616

examples/postgres/run-pending-migrations-with-rustls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ diesel-async = { version = "0.5.0", path = "../../../", features = ["bb8", "post
1010
futures-util = "0.3.21"
1111
rustls = "0.23.8"
1212
rustls-platform-verifier = "0.5.0"
13-
tokio = { version = "1.2.0", default-features = false, features = ["macros", "rt-multi-thread"] }
13+
tokio = { git = "https://github.com/Jaltaire/tokio", default-features = false, features = ["macros", "rt-multi-thread"] }
1414
tokio-postgres = "0.7.7"
1515
tokio-postgres-rustls = "0.13.0"
1616

examples/sync-wrapper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
[dependencies]
99
diesel-async = { version = "0.5.0", path = "../../", features = ["sync-connection-wrapper", "async-connection-wrapper"] }
1010
futures-util = "0.3.21"
11-
tokio = { version = "1.2.0", default-features = false, features = ["macros", "rt-multi-thread"] }
11+
tokio = { git = "https://github.com/Jaltaire/tokio", default-features = false, features = ["macros", "rt-multi-thread"] }
1212

1313
[dependencies.diesel]
1414
version = "2.2.0"

0 commit comments

Comments
 (0)