Skip to content

Commit

Permalink
Vendor ractor 0.12.4 and upgrade tokio to 1.41.0
Browse files Browse the repository at this point in the history
Summary:
From release notes:

Ractor v0.12.4 is released!

In this release there are 2 primary changes
1. We're adding the ability to runtime inspect the message type of an untyped `ActorCell` which can be helpful for supervision flows
2. We're also adding helpers for interacting with a supervisor's children (retrieval of the children, stopping them, and draining them) without having to have the supervisor keep additional handles around

Both are in #277

Tokio is being upgraded to add support for `join_all()` in `JoinSet` which `ractor` leverages (easier to upgrade than backport a hack into ractor)

Reviewed By: Imxset21

Differential Revision: D64833735

fbshipit-source-id: 897302bf95467310131348f1ee8c1f766e81f725
  • Loading branch information
slawlor authored and facebook-github-bot committed Oct 24, 2024
1 parent 5434f56 commit df0fe9f
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion shed/async_once_cell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookexperimental/rust-shed"
license = "MIT OR Apache-2.0"

[dependencies]
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[dev-dependencies]
futures = { version = "0.3.30", features = ["async-await", "compat"] }
Expand Down
2 changes: 1 addition & 1 deletion shed/buffered_weighted/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin-project = "0.4.30"
futures = { version = "0.3.30", features = ["async-await", "compat"] }
proptest = "1.0"
proptest-derive = "0.3"
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
tokio-stream = { version = "0.1.14", features = ["fs", "io-util", "net", "signal", "sync", "time"] }

[target.'cfg(target_os = "linux")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/cached_config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbth
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.125", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[dev-dependencies]
serde_derive = "1.0.185"
Expand Down
2 changes: 1 addition & 1 deletion shed/facet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ thiserror = "1.0.64"
trait-set = "0.3.0"

[dev-dependencies]
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[features]
default = ["impl_never_type"]
Expand Down
2 changes: 1 addition & 1 deletion shed/fbinit/fbinit-tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ path = "lib.rs"

[dependencies]
futures = { version = "0.3.30", features = ["async-await", "compat"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/framed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ tokio-util = { version = "0.7.10", features = ["full"] }

[dev-dependencies]
futures = { version = "0.3.30", features = ["async-await", "compat"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbth
fbthrift_framed = { version = "0.1.0", path = "../framed" }
fbthrift_util = { version = "0.1.0", path = "../util" }
futures = { version = "0.3.30", features = ["async-await", "compat"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
tokio-tower = "0.6"
tokio-util = { version = "0.7.10", features = ["full"] }
tower-service = "0.3"
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbth
fbthrift_framed = { version = "0.1.0", path = "../framed" }
fbthrift_util = { version = "0.1.0", path = "../util" }
futures = { version = "0.3.30", features = ["async-await", "compat"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
tokio-tower = "0.6"
tokio-util = { version = "0.7.10", features = ["full"] }
tower-service = "0.3"
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ license = "MIT OR Apache-2.0"
path = "lib.rs"

[dependencies]
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion shed/futures_01_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ anyhow = "1.0.86"
assert_matches = "1.5"
cloned = { version = "0.1.0", path = "../cloned" }
futures03 = { package = "futures", version = "0.3.30", features = ["async-await", "compat"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion shed/futures_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
pin-project = "0.4.30"
shared_error = { version = "0.1.0", path = "../shared_error" }
thiserror = "1.0.64"
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[dev-dependencies]
assert_matches = "1.5"
Expand Down
2 changes: 1 addition & 1 deletion shed/futures_lazy_shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ license = "MIT OR Apache-2.0"
futures = { version = "0.3.30", features = ["async-await", "compat"] }

[dev-dependencies]
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion shed/futures_stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ path = "test/main.rs"
[dependencies]
futures = { version = "0.3.30", features = ["async-await", "compat"] }
futures_ext = { version = "0.1.0", path = "../futures_ext" }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
2 changes: 1 addition & 1 deletion shed/justknobs_stub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ just_knobs_struct = { version = "0.1.0", path = "cached_config_thrift_struct" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.125", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[dev-dependencies]
fbinit = { version = "0.2.0", path = "../fbinit" }
Expand Down
2 changes: 1 addition & 1 deletion shed/sql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sql_common = { version = "0.1.0", path = "common" }
fbinit = { version = "0.2.0", path = "../fbinit" }
fbinit-tokio = { version = "0.1.2", path = "../fbinit/fbinit-tokio" }
sql_tests_lib = { version = "0.1.0", path = "tests_lib" }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[features]
default = ["mysql_common/chrono", "mysql_common/default"]
Expand Down
2 changes: 1 addition & 1 deletion shed/sql/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ rusqlite = { version = "0.29.0", features = ["backup", "blob", "column_decltype"
stats = { version = "0.1.0", path = "../../stats" }
thiserror = "1.0.64"
time_ext = { version = "0.1.0", path = "../../time_ext" }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
vec1 = { version = "1", features = ["serde"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
once_cell = "1.12"
perthread = { version = "0.1.0", path = "../perthread" }
stats_traits = { version = "0.1.0", path = "traits" }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
tokio-stream = { version = "0.1.14", features = ["fs", "io-util", "net", "signal", "sync", "time"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion shed/tokio-detectors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
rand = { version = "0.8", features = ["small_rng"] }
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2.139"
Expand Down
2 changes: 1 addition & 1 deletion shed/tokio-uds-compat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/facebookexperimental/rust-shed"
license = "MIT OR Apache-2.0"

[dependencies]
tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[dev-dependencies]
futures = { version = "0.3.30", features = ["async-await", "compat"] }
Expand Down

0 comments on commit df0fe9f

Please sign in to comment.