refactor(tvix): introduce nix-compat crate
Move nixbase32 and store_path into this. This allows //tvix/cli to not pull in //tvix/store for now. Change-Id: Id3a32867205d95794bc0d33b21d4cb3d9bafd02a Reviewed-on: https://cl.tvl.fyi/c/depot/+/7964 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
8ea93bb646
commit
c27bacd905
20 changed files with 109 additions and 27 deletions
16
tvix/Cargo.lock
generated
16
tvix/Cargo.lock
generated
|
|
@ -1301,6 +1301,18 @@ dependencies = [
|
|||
"tempfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nix-compat"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"data-encoding",
|
||||
"glob",
|
||||
"sha2 0.10.6",
|
||||
"test-case",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nom8"
|
||||
version = "0.2.0"
|
||||
|
|
@ -2617,7 +2629,6 @@ dependencies = [
|
|||
"thiserror",
|
||||
"tvix-derivation",
|
||||
"tvix-eval",
|
||||
"tvix-store-bin",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -2627,13 +2638,13 @@ dependencies = [
|
|||
"anyhow",
|
||||
"data-encoding",
|
||||
"glob",
|
||||
"nix-compat",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sha2 0.10.6",
|
||||
"test-case",
|
||||
"test-generator",
|
||||
"thiserror",
|
||||
"tvix-store-bin",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -2699,6 +2710,7 @@ dependencies = [
|
|||
"data-encoding",
|
||||
"fastcdc",
|
||||
"lazy_static",
|
||||
"nix-compat",
|
||||
"prost",
|
||||
"prost-build",
|
||||
"sled",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue