feat(tvix/nix-compat): add narinfo parsing and serialisation

Change-Id: I72c63414794642ca8d85c3f635f49db888420c40
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9852
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
edef 2023-10-27 10:54:31 +00:00
parent b1ad94cc9a
commit 9253bf6632
8 changed files with 492 additions and 76 deletions

View file

@ -26,6 +26,8 @@ serde_json = "1.0"
test-case = "2.2.2"
criterion = { version = "0.4", features = ["html_reports"] }
hex-literal = "0.4.1"
pretty_assertions = "1.4.0"
zstd = "^0.9.0"
[dev-dependencies.test-generator]
# This fork of test-generator adds support for cargo workspaces, see
@ -36,3 +38,7 @@ rev = "82e799979980962aec1aa324ec6e0e4cad781f41"
[[bench]]
name = "derivation_parse_aterm"
harness = false
[[bench]]
name = "narinfo_parse"
harness = false