Skip to content

Commit

Permalink
Bump tokio to 0.2.13
Browse files Browse the repository at this point in the history
Summary:
This is needed because the tonic crate (see the diff stack) relies on tokio ^0.2.13

We can't go to a newer version because a bug that affects mononoke was introduced on 0.2.14 (discussion started on T65261126). The issue was reported upstream tokio-rs/tokio#2390

This diff simply changed the version number on `fbsource/third-party/rust/Cargo.toml` and ran `fbsource/third-party/rust/reindeer/vendor`.

Also ran `buck run //common/rust/cargo_from_buck:cargo_from_buck` to fix the tokio version on generated cargo files

Reviewed By: krallin

Differential Revision: D21043344

fbshipit-source-id: e61797317a581aa87a8a54e9e2ae22655f22fb97
  • Loading branch information
Gabriel Russo authored and facebook-github-bot committed Apr 15, 2020
1 parent 1204df1 commit 458c2f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion shed/async_unit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ tokio-compat = "0.1"

[dev-dependencies]
futures = "0.1"
tokio = { version = "=0.2.11", features = ["full"] }
tokio = { version = "=0.2.13", features = ["full"] }
tokio-old = { package = "tokio", version = "0.1" }
tokio-timer = "0.2"
4 changes: 2 additions & 2 deletions shed/fbinit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ default = ["tokio"]
[dependencies]
macros = { path = "macros" }
quickcheck = "0.9"
tokio = { version = "=0.2.11", features = ["full"], optional = true }
tokio = { version = "=0.2.13", features = ["full"], optional = true }

[dev-dependencies]
tokio = { version = "=0.2.11", features = ["full"] }
tokio = { version = "=0.2.13", features = ["full"] }
2 changes: 1 addition & 1 deletion shed/futures_stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ tokio-old = { package = "tokio", version = "0.1" }

[dev-dependencies]
anyhow = "1.0"
tokio = { version = "=0.2.11", features = ["full"] }
tokio = { version = "=0.2.13", features = ["full"] }
tokio-timer = "0.2"
2 changes: 1 addition & 1 deletion shed/stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ auto_impl = { git = "https://github.com/auto-impl-rs/auto_impl", rev = "43ad0ed4
futures = { version = "0.3", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1" }
lazy_static = "1.0"
tokio = { version = "=0.2.11", features = ["full"] }
tokio = { version = "=0.2.13", features = ["full"] }
tokio-old = { package = "tokio", version = "0.1" }

0 comments on commit 458c2f4

Please sign in to comment.