From 878c93f34c3462b10bee4dbd87a02ced5c1372ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 23:48:20 -0400 Subject: [PATCH] Bump tokio from 1.37.0 to 1.38.0 (#347) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
Release notes

Sourced from tokio's releases.

Tokio v1.38.0

This release marks the beginning of stabilization for runtime metrics. It stabilizes RuntimeMetrics::worker_count. Future releases will continue to stabilize more metrics.

Added

Changed

Fixed

Documented

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.37.0&new-version=1.38.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 8 ++++---- crates/cli/devenv/dev-database-seed/Cargo.toml | 2 +- crates/cli/devenv/dev-upload-media-file/Cargo.toml | 2 +- crates/cli/devenv/scrape-test/Cargo.toml | 2 +- crates/cli/production/db-cleanup/Cargo.toml | 2 +- crates/cli/production/elasticsearch-cli/Cargo.toml | 2 +- crates/cli/production/migration-tool/Cargo.toml | 2 +- crates/lib/api_clients/cloud_storage/Cargo.toml | 2 +- crates/lib/migration/Cargo.toml | 2 +- crates/lib/mysql_queries/Cargo.toml | 2 +- crates/my-workspace-hack/Cargo.toml | 4 ++-- crates/service/job/analytics_job/Cargo.toml | 2 +- crates/service/job/download_job/Cargo.toml | 2 +- crates/service/job/email_sender_job/Cargo.toml | 2 +- crates/service/job/es-update-job/Cargo.toml | 2 +- crates/service/job/inference_job/Cargo.toml | 2 +- crates/service/job/tts_download_job/Cargo.toml | 2 +- crates/service/job/tts_inference_job/Cargo.toml | 2 +- crates/service/job/w2l_download_job/Cargo.toml | 2 +- crates/service/job/w2l_inference_job/Cargo.toml | 2 +- crates/service/plugins/billing/Cargo.toml | 2 +- crates/service/web/dummy_service/Cargo.toml | 2 +- crates/service/web/storyteller_web/Cargo.toml | 2 +- 23 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d77002e53..83851a2172 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7376,9 +7376,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes 1.6.0", @@ -7437,9 +7437,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/crates/cli/devenv/dev-database-seed/Cargo.toml b/crates/cli/devenv/dev-database-seed/Cargo.toml index 6cd2005fe1..d50d577a61 100644 --- a/crates/cli/devenv/dev-database-seed/Cargo.toml +++ b/crates/cli/devenv/dev-database-seed/Cargo.toml @@ -40,7 +40,7 @@ clap = "4.4.8" rand = "0.8.5" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } diff --git a/crates/cli/devenv/dev-upload-media-file/Cargo.toml b/crates/cli/devenv/dev-upload-media-file/Cargo.toml index b8ae0a8669..7bc4235281 100644 --- a/crates/cli/devenv/dev-upload-media-file/Cargo.toml +++ b/crates/cli/devenv/dev-upload-media-file/Cargo.toml @@ -37,7 +37,7 @@ log = "0.4.14" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } diff --git a/crates/cli/devenv/scrape-test/Cargo.toml b/crates/cli/devenv/scrape-test/Cargo.toml index d04018bbe0..2738e2ed9f 100644 --- a/crates/cli/devenv/scrape-test/Cargo.toml +++ b/crates/cli/devenv/scrape-test/Cargo.toml @@ -26,4 +26,4 @@ my-workspace-hack = { version = "0.1", path = "../../../my-workspace-hack" } # External clap = "4.4.8" -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } diff --git a/crates/cli/production/db-cleanup/Cargo.toml b/crates/cli/production/db-cleanup/Cargo.toml index bc6370fb31..5f63bccec2 100644 --- a/crates/cli/production/db-cleanup/Cargo.toml +++ b/crates/cli/production/db-cleanup/Cargo.toml @@ -35,7 +35,7 @@ itertools = "0.13.0" log = "0.4.14" # Bigger pieces -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } # Serialization diff --git a/crates/cli/production/elasticsearch-cli/Cargo.toml b/crates/cli/production/elasticsearch-cli/Cargo.toml index ab0f2ad5ab..59419ecf97 100644 --- a/crates/cli/production/elasticsearch-cli/Cargo.toml +++ b/crates/cli/production/elasticsearch-cli/Cargo.toml @@ -36,7 +36,7 @@ log = "0.4.14" strum = { version = "0.26", features = ["derive"] } # Bigger pieces -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } elasticsearch = "8.5.0-alpha.1" diff --git a/crates/cli/production/migration-tool/Cargo.toml b/crates/cli/production/migration-tool/Cargo.toml index 3b36326377..15cbce5d63 100644 --- a/crates/cli/production/migration-tool/Cargo.toml +++ b/crates/cli/production/migration-tool/Cargo.toml @@ -39,7 +39,7 @@ strum = { version = "0.26", features = ["derive"] } tempdir = "0.3.7" # Async + clients -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } # Serialization diff --git a/crates/lib/api_clients/cloud_storage/Cargo.toml b/crates/lib/api_clients/cloud_storage/Cargo.toml index 9466863cca..67bd2c9262 100644 --- a/crates/lib/api_clients/cloud_storage/Cargo.toml +++ b/crates/lib/api_clients/cloud_storage/Cargo.toml @@ -40,5 +40,5 @@ rust-s3 = { version = "0.34.0" } # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } diff --git a/crates/lib/migration/Cargo.toml b/crates/lib/migration/Cargo.toml index 306bd61017..b15d49dc63 100644 --- a/crates/lib/migration/Cargo.toml +++ b/crates/lib/migration/Cargo.toml @@ -38,7 +38,7 @@ serde_json = "1.0.108" toml = "0.8.14" # Runtime + Clients -tokio = { version = "1.34.0", features = ["full"] } +tokio = { version = "1.38.0", features = ["full"] } sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } # Workspace hack (faster compile times) diff --git a/crates/lib/mysql_queries/Cargo.toml b/crates/lib/mysql_queries/Cargo.toml index 1d525b1b68..0ae689ba63 100644 --- a/crates/lib/mysql_queries/Cargo.toml +++ b/crates/lib/mysql_queries/Cargo.toml @@ -46,7 +46,7 @@ serde_json = "1.0.108" toml = "0.8.14" serial_test = "3.0.0" -tokio = { version = "1.34.0", features = ["full"] } +tokio = { version = "1.38.0", features = ["full"] } rand = "0.8" sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", "chrono" ] } diff --git a/crates/my-workspace-hack/Cargo.toml b/crates/my-workspace-hack/Cargo.toml index d6527140c0..004f4895fc 100644 --- a/crates/my-workspace-hack/Cargo.toml +++ b/crates/my-workspace-hack/Cargo.toml @@ -87,7 +87,7 @@ sqlx-sqlite = { version = "0.7.3", default-features = false, features = ["any", stable_deref_trait = { version = "1.2.0" } syn-f595c2ba2a3f28df = { package = "syn", version = "2.0.66", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } time = { version = "0.3.36", features = ["macros", "serde-well-known"] } -tokio = { version = "1.37.0", features = ["full"] } +tokio = { version = "1.38.0", features = ["full"] } tokio-stream = { version = "0.1.15", features = ["fs"] } tracing = { version = "0.1.40", features = ["log"] } unicode-bidi = { version = "0.3.15" } @@ -160,7 +160,7 @@ stable_deref_trait = { version = "1.2.0" } syn-dff4ba8e3ae991db = { package = "syn", version = "1.0.109", features = ["extra-traits", "fold", "full", "visit-mut"] } syn-f595c2ba2a3f28df = { package = "syn", version = "2.0.66", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } time-macros = { version = "0.2.18", default-features = false, features = ["formatting", "parsing", "serde"] } -tokio = { version = "1.37.0", features = ["full"] } +tokio = { version = "1.38.0", features = ["full"] } tokio-stream = { version = "0.1.15", features = ["fs"] } tracing = { version = "0.1.40", features = ["log"] } unicode-bidi = { version = "0.3.15" } diff --git a/crates/service/job/analytics_job/Cargo.toml b/crates/service/job/analytics_job/Cargo.toml index f2caeb34d8..41611410e1 100644 --- a/crates/service/job/analytics_job/Cargo.toml +++ b/crates/service/job/analytics_job/Cargo.toml @@ -41,7 +41,7 @@ sqlx = { version = "0.7.2", features = [ "mysql", "runtime-tokio", "tls-rustls", # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # Serialization serde = "1.0.125" diff --git a/crates/service/job/download_job/Cargo.toml b/crates/service/job/download_job/Cargo.toml index 95d14e13c5..8a17c398fc 100644 --- a/crates/service/job/download_job/Cargo.toml +++ b/crates/service/job/download_job/Cargo.toml @@ -59,7 +59,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # NB: Hyper is just for HTTP client use in jobs. I'd use Actix client, but I need tokio runtime # NB: Furthermore, the Tokio runtime is old, so I have to use an older Hyper. diff --git a/crates/service/job/email_sender_job/Cargo.toml b/crates/service/job/email_sender_job/Cargo.toml index f2b040d345..2ba8050d37 100644 --- a/crates/service/job/email_sender_job/Cargo.toml +++ b/crates/service/job/email_sender_job/Cargo.toml @@ -52,7 +52,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # HTTP Server actix-web = "4.7.0" diff --git a/crates/service/job/es-update-job/Cargo.toml b/crates/service/job/es-update-job/Cargo.toml index 0bf53bb615..7f9ba535e0 100644 --- a/crates/service/job/es-update-job/Cargo.toml +++ b/crates/service/job/es-update-job/Cargo.toml @@ -48,7 +48,7 @@ elasticsearch = "8.5.0-alpha.1" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # Serialization serde = "1.0.125" diff --git a/crates/service/job/inference_job/Cargo.toml b/crates/service/job/inference_job/Cargo.toml index 105243ccb3..c8a42c44a3 100644 --- a/crates/service/job/inference_job/Cargo.toml +++ b/crates/service/job/inference_job/Cargo.toml @@ -64,7 +64,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # HTTP Client reqwest = { version = "0.12.4", features = ["blocking"] } diff --git a/crates/service/job/tts_download_job/Cargo.toml b/crates/service/job/tts_download_job/Cargo.toml index 3906cd7b07..1f7c360897 100644 --- a/crates/service/job/tts_download_job/Cargo.toml +++ b/crates/service/job/tts_download_job/Cargo.toml @@ -48,7 +48,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # NB: Hyper is just for HTTP client use in jobs. I'd use Actix client, but I need tokio runtime # NB: Furthermore, the Tokio runtime is old, so I have to use an older Hyper. diff --git a/crates/service/job/tts_inference_job/Cargo.toml b/crates/service/job/tts_inference_job/Cargo.toml index 0a912319db..48908feefe 100644 --- a/crates/service/job/tts_inference_job/Cargo.toml +++ b/crates/service/job/tts_inference_job/Cargo.toml @@ -49,7 +49,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # HTTP reqwest = { version = "0.12.4", features = ["blocking"] } diff --git a/crates/service/job/w2l_download_job/Cargo.toml b/crates/service/job/w2l_download_job/Cargo.toml index 6b9a71f1d9..ceb97697ec 100644 --- a/crates/service/job/w2l_download_job/Cargo.toml +++ b/crates/service/job/w2l_download_job/Cargo.toml @@ -48,7 +48,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # NB: Hyper is just for HTTP client use in jobs. I'd use Actix client, but I need tokio runtime # NB: Furthermore, the Tokio runtime is old, so I have to use an older Hyper. diff --git a/crates/service/job/w2l_inference_job/Cargo.toml b/crates/service/job/w2l_inference_job/Cargo.toml index f3c6f8857b..a15d83d703 100644 --- a/crates/service/job/w2l_inference_job/Cargo.toml +++ b/crates/service/job/w2l_inference_job/Cargo.toml @@ -46,7 +46,7 @@ r2d2_redis = "0.14.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # NB: Hyper is just for HTTP client use in jobs. I'd use Actix client, but I need tokio runtime # NB: Furthermore, the Tokio runtime is old, so I have to use an older Hyper. diff --git a/crates/service/plugins/billing/Cargo.toml b/crates/service/plugins/billing/Cargo.toml index a0a0f94113..0935be7161 100644 --- a/crates/service/plugins/billing/Cargo.toml +++ b/crates/service/plugins/billing/Cargo.toml @@ -64,4 +64,4 @@ utoipa = { version = "4", features = ["chrono","actix_extras"] } mockall = "0.12.1" # NB: Tokio version matches `async-stripe` transitive dep; features are for testing -tokio = { version = "1.34.0", features = ["rt", "macros"] } +tokio = { version = "1.38.0", features = ["rt", "macros"] } diff --git a/crates/service/web/dummy_service/Cargo.toml b/crates/service/web/dummy_service/Cargo.toml index c8aac61af5..fd91dfd9dc 100644 --- a/crates/service/web/dummy_service/Cargo.toml +++ b/crates/service/web/dummy_service/Cargo.toml @@ -36,7 +36,7 @@ hostname = "0.4.0" # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # Futures futures-util = "0.3.29" diff --git a/crates/service/web/storyteller_web/Cargo.toml b/crates/service/web/storyteller_web/Cargo.toml index 4b0288903f..59297d6f02 100644 --- a/crates/service/web/storyteller_web/Cargo.toml +++ b/crates/service/web/storyteller_web/Cargo.toml @@ -105,7 +105,7 @@ native-tls = { version = "0.2.8", features = ["vendored"] } # Runtime # NB: We switched to Tokio from `async-std` for broader ecosystem support. -tokio = { version = "1.34.0", features = ["macros"] } +tokio = { version = "1.38.0", features = ["macros"] } # Futures futures = { version = "0.3.17", features = ["thread-pool"] } # feature for ThreadPool