diff --git a/Cargo.lock b/Cargo.lock index 6b9f18591..320da70df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -3787,9 +3787,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.36.0" +version = "1.38.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +checksum = "68722da18b0fc4a05fdc1120b302b82051265792a1e1b399086e9b204b10ad3d" dependencies = [ "backtrace", "bytes", @@ -3806,9 +3806,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 281ed9b8b..333ad4e7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -163,7 +163,7 @@ time_ = { version = "0.3.2", package = "time" } futures = "0.3.19" env_logger = "0.11" async-std = { version = "1.12.0", features = ["attributes"] } -tokio = { version = "1.15.0", features = ["full"] } +tokio = { version = "1.38.2", features = ["full"] } dotenvy = "0.15.0" trybuild = "1.0.53" sqlx-test = { path = "./sqlx-test" } diff --git a/examples/mysql/todos/Cargo.toml b/examples/mysql/todos/Cargo.toml index 167e3909a..9e2e1d13f 100644 --- a/examples/mysql/todos/Cargo.toml +++ b/examples/mysql/todos/Cargo.toml @@ -9,4 +9,4 @@ anyhow = "1.0" futures = "0.3" sqlx = { path = "../../../", features = [ "mysql", "runtime-tokio-native-tls" ] } structopt = "0.3" -tokio = { version = "1.20.0", features = ["rt", "macros"]} +tokio = { version = "1.38.2", features = ["rt", "macros"]} diff --git a/examples/postgres/axum-social-with-tests/Cargo.toml b/examples/postgres/axum-social-with-tests/Cargo.toml index d03730bdc..6baaf3c91 100644 --- a/examples/postgres/axum-social-with-tests/Cargo.toml +++ b/examples/postgres/axum-social-with-tests/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" # Primary crates axum = { version = "0.5.13", features = ["macros"] } sqlx = { path = "../../../", features = ["runtime-tokio-rustls", "postgres", "time", "uuid"] } -tokio = { version = "1.20.1", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.38.2", features = ["rt-multi-thread", "macros"] } # Important secondary crates argon2 = "0.4.1" diff --git a/examples/postgres/chat/Cargo.toml b/examples/postgres/chat/Cargo.toml index 0514e29ea..8177ff619 100644 --- a/examples/postgres/chat/Cargo.toml +++ b/examples/postgres/chat/Cargo.toml @@ -7,7 +7,7 @@ workspace = "../../../" [dependencies] sqlx = { path = "../../../", features = [ "postgres", "runtime-tokio-native-tls" ] } futures = "0.3.1" -tokio = { version = "1.20.0", features = [ "rt-multi-thread", "macros" ] } +tokio = { version = "1.38.2", features = [ "rt-multi-thread", "macros" ] } tui = "0.19.0" crossterm = "0.25" unicode-width = "0.1" diff --git a/examples/postgres/files/Cargo.toml b/examples/postgres/files/Cargo.toml index bfc99487e..96bb32b80 100644 --- a/examples/postgres/files/Cargo.toml +++ b/examples/postgres/files/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" [dependencies] anyhow = "1.0" sqlx = { path = "../../../", features = ["postgres", "runtime-tokio-native-tls"] } -tokio = { version = "1.20.0", features = ["rt", "macros"]} +tokio = { version = "1.38.2", features = ["rt", "macros"]} dotenvy = "0.15.0" diff --git a/examples/postgres/json/Cargo.toml b/examples/postgres/json/Cargo.toml index 4349c07f3..565f35553 100644 --- a/examples/postgres/json/Cargo.toml +++ b/examples/postgres/json/Cargo.toml @@ -12,4 +12,4 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" sqlx = { path = "../../../", features = ["runtime-tokio", "postgres", "json"] } structopt = "0.3" -tokio = { version = "1.20.0", features = ["rt", "macros"]} +tokio = { version = "1.38.2", features = ["rt", "macros"]} diff --git a/examples/postgres/listen/Cargo.toml b/examples/postgres/listen/Cargo.toml index ce1d9153a..1a353f48e 100644 --- a/examples/postgres/listen/Cargo.toml +++ b/examples/postgres/listen/Cargo.toml @@ -7,4 +7,4 @@ workspace = "../../../" [dependencies] sqlx = { path = "../../../", features = [ "runtime-tokio", "postgres" ] } futures = "0.3.1" -tokio = { version = "1.20.0", features = ["rt-multi-thread", "macros", "time"]} +tokio = { version = "1.38.2", features = ["rt-multi-thread", "macros", "time"]} diff --git a/examples/postgres/mockable-todos/Cargo.toml b/examples/postgres/mockable-todos/Cargo.toml index 90cf39c92..7d380a58a 100644 --- a/examples/postgres/mockable-todos/Cargo.toml +++ b/examples/postgres/mockable-todos/Cargo.toml @@ -9,7 +9,7 @@ anyhow = "1.0" futures = "0.3" sqlx = { path = "../../../", features = ["postgres", "runtime-tokio-native-tls"] } structopt = "0.3" -tokio = { version = "1.20.0", features = ["rt", "macros"]} +tokio = { version = "1.38.2", features = ["rt", "macros"]} dotenvy = "0.15.0" async-trait = "0.1.41" mockall = "0.11" diff --git a/examples/postgres/todos/Cargo.toml b/examples/postgres/todos/Cargo.toml index d9e3de227..45596a122 100644 --- a/examples/postgres/todos/Cargo.toml +++ b/examples/postgres/todos/Cargo.toml @@ -9,5 +9,5 @@ anyhow = "1.0" futures = "0.3" sqlx = { path = "../../../", features = ["postgres", "runtime-tokio-native-tls"] } structopt = "0.3" -tokio = { version = "1.20.0", features = ["rt", "macros"]} +tokio = { version = "1.38.2", features = ["rt", "macros"]} dotenvy = "0.15.0" diff --git a/examples/postgres/transaction/Cargo.toml b/examples/postgres/transaction/Cargo.toml index 80ff9956c..30d80a10c 100644 --- a/examples/postgres/transaction/Cargo.toml +++ b/examples/postgres/transaction/Cargo.toml @@ -7,4 +7,4 @@ workspace = "../../../" [dependencies] sqlx = { path = "../../../", features = [ "postgres", "runtime-tokio-native-tls" ] } futures = "0.3.1" -tokio = { version = "1.20.0", features = ["rt-multi-thread", "macros"]} +tokio = { version = "1.38.2", features = ["rt-multi-thread", "macros"]} diff --git a/examples/sqlite/todos/Cargo.toml b/examples/sqlite/todos/Cargo.toml index 90c943798..5d4f47738 100644 --- a/examples/sqlite/todos/Cargo.toml +++ b/examples/sqlite/todos/Cargo.toml @@ -9,4 +9,4 @@ anyhow = "1.0" futures = "0.3" sqlx = { path = "../../../", features = ["sqlite", "runtime-tokio-native-tls"] } structopt = "0.3" -tokio = { version = "1.20.0", features = ["rt", "macros"]} +tokio = { version = "1.38.2", features = ["rt", "macros"]} diff --git a/sqlx-cli/Cargo.toml b/sqlx-cli/Cargo.toml index 80de8e150..930d647b4 100644 --- a/sqlx-cli/Cargo.toml +++ b/sqlx-cli/Cargo.toml @@ -26,7 +26,7 @@ path = "src/bin/cargo-sqlx.rs" [dependencies] dotenvy = "0.15.0" -tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread"] } +tokio = { version = "1.38.2", features = ["macros", "rt", "rt-multi-thread"] } sqlx = { workspace = true, default-features = false, features = [ "runtime-tokio", "migrate", diff --git a/sqlx-test/Cargo.toml b/sqlx-test/Cargo.toml index ddc94d216..43d74c8e1 100644 --- a/sqlx-test/Cargo.toml +++ b/sqlx-test/Cargo.toml @@ -10,4 +10,4 @@ env_logger = "0.11" dotenvy = "0.15.0" anyhow = "1.0.26" async-std = { version = "1.8.0", features = [ "attributes" ] } -tokio = { version = "1.0.1", features = [ "full" ] } +tokio = { version = "1.38.2", features = [ "full" ] }