From c27bacd905a14207edc56850fd4ef9383706b5c4 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 31 Jan 2023 12:18:03 +0100 Subject: 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 --- tvix/nix-compat/Cargo.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tvix/nix-compat/Cargo.toml (limited to 'tvix/nix-compat/Cargo.toml') diff --git a/tvix/nix-compat/Cargo.toml b/tvix/nix-compat/Cargo.toml new file mode 100644 index 0000000000..484285e780 --- /dev/null +++ b/tvix/nix-compat/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "nix-compat" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +anyhow = "1.0.68" +data-encoding = "2.3.3" +glob = "0.3.0" +sha2 = "0.10.6" +thiserror = "1.0.38" + +[dev-dependencies] +test-case = "2.2.2" -- cgit 1.4.1