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/glue/Cargo.toml | |
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/glue/Cargo.toml')
-rw-r--r-- | tvix/glue/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/glue/Cargo.toml b/tvix/glue/Cargo.toml index 6e9f313aa0a9..7784e08f523c 100644 --- a/tvix/glue/Cargo.toml +++ b/tvix/glue/Cargo.toml @@ -45,6 +45,7 @@ nix = { version = "0.27.1", features = [ "fs" ] } pretty_assertions = "1.4.0" rstest = "0.19.0" tempfile = "3.8.1" +tokio-test = "0.4.3" [features] default = ["nix_tests"] |