diff options
author | Brian Olsen <brian@maven-group.org> | 2024-07-22T13·44+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-08-16T16·26+0000 |
commit | 3cd57ce4e318a6126322d3298305c822acee08f0 (patch) | |
tree | 032e4209638428b731c0c476205274f546fc9cf5 /tvix/Cargo.nix | |
parent | 9d2017624136e20b97dbe7cae1d9b11152f0c8d9 (diff) |
feat(tvix/glue): Add refscanner pattern and AsyncRead r/8502
This splits the existing ReferenceScanner into a ReferenceScanner and ReferencePattern as well as adds an AsyncRead implementation that can do a scan while you read from it. The reason to split the scanner in two is that generating the pattern is expensive and when ingesting build results with multiple outputs you want to do several independant scans that look for the same pattern. The reader is for scanning files without having to load the entire file into memory. Change-Id: I993f5a32308c12d9035840f8e04fe82e8dc1d962 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12052 Autosubmit: Brian Olsen <me@griff.name> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/Cargo.nix')
-rw-r--r-- | tvix/Cargo.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 29ffa0a6cb19..3fadfa05ec62 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -16561,6 +16561,10 @@ rec { name = "tempfile"; packageId = "tempfile"; } + { + name = "tokio-test"; + packageId = "tokio-test"; + } ]; features = { "default" = [ "nix_tests" ]; |