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

View file

@ -718,35 +718,6 @@ rec {
}
];
};
"async-recursion" = rec {
crateName = "async-recursion";
version = "1.0.5";
edition = "2018";
sha256 = "1l2vlgyaa9a2dd0y1vbqyppzsvpdr1y4rar4gn1qi68pl5dmmmaz";
procMacro = true;
authors = [
"Robert Usher <266585+dcchut@users.noreply.github.com>"
];
dependencies = [
{
name = "proc-macro2";
packageId = "proc-macro2";
usesDefaultFeatures = false;
}
{
name = "quote";
packageId = "quote";
usesDefaultFeatures = false;
}
{
name = "syn";
packageId = "syn 2.0.48";
usesDefaultFeatures = false;
features = [ "full" "parsing" "printing" "proc-macro" "clone-impls" ];
}
];
};
"async-signal" = rec {
crateName = "async-signal";
@ -14098,10 +14069,6 @@ rec {
packageId = "async-compression";
features = [ "tokio" "gzip" "bzip2" "xz" ];
}
{
name = "async-recursion";
packageId = "async-recursion";
}
{
name = "bstr";
packageId = "bstr";
@ -14300,10 +14267,6 @@ rec {
packageId = "async-compression";
features = [ "tokio" "bzip2" "gzip" "xz" "zstd" ];
}
{
name = "async-recursion";
packageId = "async-recursion";
}
{
name = "async-stream";
packageId = "async-stream";