Skip to content

Commit

Permalink
chore: update tokio to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Mar 26, 2024
1 parent 30e83b5 commit ace6e4a
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 12 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ cpp_demangle = { git = "https://github.com/getsentry/cpp_demangle", branch = "se
# See also https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html
# [patch.crates-io]
# symbolic-debuginfo = { path = "../symbolic/symbolic-debuginfo" }

[workspace.dependencies]
tokio = "1.36.0"
tokio-metrics = "0.3.1"
tokio-util = "0.7.10"
2 changes: 1 addition & 1 deletion crates/symbolicator-js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ symbolic = { version = "12.7.1", features = ["common-serde", "sourcemapcache"] }
symbolicator-service = { path = "../symbolicator-service" }
symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.2.0"
tokio = { version = "1.24.2", features = ["rt", "macros", "fs"] }
tokio = { workspace = true, features = ["rt", "macros", "fs"] }
tracing = "0.1.34"
url = { version = "2.2.0", features = ["serde"] }

Expand Down
4 changes: 2 additions & 2 deletions crates/symbolicator-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ symbolicator-service = { path = "../symbolicator-service" }
symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.2.0"
thiserror = "1.0.31"
tokio = { version = "1.24.2" }
tokio = { workspace = true }
tracing = "0.1.34"
url = { version = "2.2.0", features = ["serde"] }

Expand All @@ -34,4 +34,4 @@ insta = { version = "1.18.0", features = ["redactions", "yaml"] }
serde_json = "1.0.81"
symbolicator-test = { path = "../symbolicator-test" }
test-assembler = "0.1.5"
tokio = { version = "1.24.2", features = ["rt", "macros", "fs"] }
tokio = { workspace = true, features = ["rt", "macros", "fs"] }
2 changes: 1 addition & 1 deletion crates/symbolicator-proguard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ tracing = "0.1.34"

[dev-dependencies]
symbolicator-test = { path = "../symbolicator-test" }
tokio = { version = "1.24.2", features = ["rt", "macros", "fs"] }
tokio = { workspace = true, features = ["rt", "macros", "fs"] }
4 changes: 2 additions & 2 deletions crates/symbolicator-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.2.0"
thiserror = "1.0.31"
thread_local = "1.1.7"
tokio = { version = "1.24.2", features = ["rt", "macros", "fs"] }
tokio-util = { version = "0.7.1", features = ["io"] }
tokio = { workspace = true, features = ["rt", "macros", "fs"] }
tokio-util = { workspace = true, features = ["io"] }
tracing = "0.1.34"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "time", "json"] }
url = { version = "2.2.0", features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-stress/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ symbolicator-proguard = { path = "../symbolicator-proguard" }
symbolicator-service = { path = "../symbolicator-service" }
symbolicator-test = { path = "../symbolicator-test" }
tempfile = "3.2.0"
tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "time", "sync"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time", "sync"] }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.5", features = ["unprefixed_malloc_on_supported_platforms"] }
2 changes: 1 addition & 1 deletion crates/symbolicator-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.94"
symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.2.0"
tokio = { version = "1.26.0", features = ["rt", "macros", "fs"] }
tokio = { workspace = true, features = ["rt", "macros", "fs"] }
tower-http = { version = "0.5.0", features = ["fs", "trace"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
6 changes: 3 additions & 3 deletions crates/symbolicator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ symbolicator-service = { path = "../symbolicator-service" }
symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.2.0"
thiserror = "1.0.31"
tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "fs"] }
tokio-metrics = "0.3.0"
tokio-util = { version = "0.7.1", features = ["io"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "fs"] }
tokio-metrics = { workspace = true }
tokio-util = { workspace = true, features = ["io"] }
tower = "0.4"
tower-layer = "0.3"
tower-service = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ symbolicator-native = { path = "../symbolicator-native" }
symbolicator-service = { path = "../symbolicator-service" }
symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.3.0"
tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "time", "sync"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time", "sync"] }
toml = "0.8.0"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
Expand Down

0 comments on commit ace6e4a

Please sign in to comment.