about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-22T10·03+0300
committerclbot <clbot@tvl.fyi>2023-09-22T12·51+0000
commit80a02f96ce10487a8886ebc00b38cb72b671c0ca (patch)
treea78bad33f4b997699c177f8e1bdd39f8cfae46e0
parent32f41458c0a0f62bf906021ef096c465ccc45581 (diff)
chore(tvix/castore): remove dependency on anyhow r/6630
We don't use this here, except in a test, where we don't really use
it either.

Change-Id: Ia6c45fccf663fe328942b1e1a2cd1c3a1b7f9ae5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9376
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
-rw-r--r--tvix/Cargo.lock1
-rw-r--r--tvix/Cargo.nix4
-rw-r--r--tvix/castore/Cargo.toml1
-rw-r--r--tvix/castore/src/directoryservice/grpc.rs4
4 files changed, 1 insertions, 9 deletions
diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock
index 174c68d4d2d8..a241307a7d26 100644
--- a/tvix/Cargo.lock
+++ b/tvix/Cargo.lock
@@ -2734,7 +2734,6 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
 name = "tvix-castore"
 version = "0.1.0"
 dependencies = [
- "anyhow",
  "async-stream",
  "blake3",
  "bytes",
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix
index 2f01a9473263..ac0053c6bff6 100644
--- a/tvix/Cargo.nix
+++ b/tvix/Cargo.nix
@@ -8137,10 +8137,6 @@ rec {
           else ./castore;
         dependencies = [
           {
-            name = "anyhow";
-            packageId = "anyhow";
-          }
-          {
             name = "async-stream";
             packageId = "async-stream";
           }
diff --git a/tvix/castore/Cargo.toml b/tvix/castore/Cargo.toml
index 8bef5bb147bc..5ad61d08b188 100644
--- a/tvix/castore/Cargo.toml
+++ b/tvix/castore/Cargo.toml
@@ -4,7 +4,6 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-anyhow = "1.0.68"
 async-stream = "0.3.5"
 blake3 = { version = "1.3.1", features = ["rayon", "std"] }
 bytes = "1.4.0"
diff --git a/tvix/castore/src/directoryservice/grpc.rs b/tvix/castore/src/directoryservice/grpc.rs
index 0f0305341265..febab2752a1f 100644
--- a/tvix/castore/src/directoryservice/grpc.rs
+++ b/tvix/castore/src/directoryservice/grpc.rs
@@ -355,7 +355,7 @@ mod tests {
     };
 
     #[test]
-    fn test() -> anyhow::Result<()> {
+    fn test() {
         let tmpdir = TempDir::new().unwrap();
         let socket_path = tmpdir.path().join("socket");
 
@@ -535,7 +535,5 @@ mod tests {
                     .expect_err("must fail");
             }
         });
-
-        Ok(())
     }
 }