refactor(tvix): remove usage of async-recursion

Rust 1.77 supports async recursion as long as there is some form of
indirection (ie. `Box::pin`). This removes the need to use the
async-recursion crate.

Change-Id: Ic9613ab7f32016f0103032a861edff92e2fb8b41
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11596
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
This commit is contained in:
Connor Brewster 2024-05-06 10:53:52 -05:00 committed by clbot
parent 01a4a2399c
commit da9bc274f3
8 changed files with 19 additions and 68 deletions

13
tvix/Cargo.lock generated
View file

@ -206,17 +206,6 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "async-recursion"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.48",
]
[[package]]
name = "async-signal"
version = "0.2.5"
@ -4387,7 +4376,6 @@ name = "tvix-glue"
version = "0.1.0"
dependencies = [
"async-compression",
"async-recursion",
"bstr",
"bytes",
"criterion",
@ -4438,7 +4426,6 @@ dependencies = [
"anyhow",
"async-compression",
"async-process",
"async-recursion",
"async-stream",
"bigtable_rs",
"blake3",