From ad12ef9ecb11c19b75164c82717709ae1921493b Mon Sep 17 00:00:00 2001 From: Sean Lawlor Date: Thu, 24 Oct 2024 09:02:47 -0700 Subject: [PATCH] Vendor ractor 0.12.4 and upgrade tokio to 1.41.0 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 --- reverie-examples/Cargo.toml | 2 +- reverie-process/Cargo.toml | 2 +- reverie-ptrace/Cargo.toml | 2 +- safeptrace/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reverie-examples/Cargo.toml b/reverie-examples/Cargo.toml index 3c40d6b..7ee3ff9 100644 --- a/reverie-examples/Cargo.toml +++ b/reverie-examples/Cargo.toml @@ -53,5 +53,5 @@ reverie-ptrace = { version = "0.1.0", path = "../reverie-ptrace" } reverie-util = { version = "0.1.0", path = "../reverie-util" } serde = { version = "1.0.185", features = ["derive", "rc"] } serde_json = { version = "1.0.125", features = ["float_roundtrip", "unbounded_depth"] } -tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] } +tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] } tracing = { version = "0.1.40", features = ["attributes", "valuable"] } diff --git a/reverie-process/Cargo.toml b/reverie-process/Cargo.toml index 13f083f..160c1d9 100644 --- a/reverie-process/Cargo.toml +++ b/reverie-process/Cargo.toml @@ -18,7 +18,7 @@ nix = "0.25" serde = { version = "1.0.185", features = ["derive", "rc"] } syscalls = { version = "0.6.7", features = ["serde"] } 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] num_cpus = "1.16" diff --git a/reverie-ptrace/Cargo.toml b/reverie-ptrace/Cargo.toml index eedb086..2fc7f2e 100644 --- a/reverie-ptrace/Cargo.toml +++ b/reverie-ptrace/Cargo.toml @@ -28,7 +28,7 @@ reverie = { version = "0.1.0", path = "../reverie" } safeptrace = { version = "0.1.0", path = "../safeptrace", features = ["memory", "notifier"] } serde = { version = "1.0.185", features = ["derive", "rc"] } thiserror = "1.0.64" -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"] } tracing = { version = "0.1.40", features = ["attributes", "valuable"] } tracing-subscriber = { version = "0.3.18", features = ["chrono", "env-filter", "json", "local-time", "parking_lot", "registry"] } diff --git a/safeptrace/Cargo.toml b/safeptrace/Cargo.toml index 6b1b4c5..b8e6462 100644 --- a/safeptrace/Cargo.toml +++ b/safeptrace/Cargo.toml @@ -23,7 +23,7 @@ thiserror = "1.0.64" [dev-dependencies] quickcheck = "1.0" quickcheck_macros = "1.0" -tokio = { version = "1.37.0", features = ["full", "test-util", "tracing"] } +tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] } [features] default = []