From 37a348b4fae16b2b1c5ec12deaa085a049833d7f Mon Sep 17 00:00:00 2001 From: Connor Brewster Date: Tue, 19 Sep 2023 11:46:41 -0500 Subject: refactor(tvix/store): Asyncify PathInfoService and DirectoryService We've decided to asyncify all of the services to reduce some of the pains going back and for between sync<->async. The end goal will be for all the tvix-store internals to be async and then expose a sync interface for things like tvix eval io. Change-Id: I97c71f8db1d05a38bd8f625df5087d565705d52d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9369 Autosubmit: Connor Brewster Tested-by: BuildkiteCI Reviewed-by: flokli --- tvix/Cargo.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tvix/Cargo.nix') diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 002aaeab09..5c264fa01a 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -7496,7 +7496,7 @@ rec { "time" = [ "tokio/time" ]; "tokio-util" = [ "dep:tokio-util" ]; }; - resolvedDefaultFeatures = [ "default" "net" "time" ]; + resolvedDefaultFeatures = [ "default" "fs" "net" "time" ]; }; "tokio-util" = rec { crateName = "tokio-util"; @@ -8703,6 +8703,10 @@ rec { name = "anyhow"; packageId = "anyhow"; } + { + name = "async-stream"; + packageId = "async-stream"; + } { name = "blake3"; packageId = "blake3"; @@ -8796,6 +8800,7 @@ rec { { name = "tokio-stream"; packageId = "tokio-stream"; + features = [ "fs" ]; } { name = "tokio-util"; -- cgit 1.4.1