chore(tvix/castore): remove dependency on anyhow

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
This commit is contained in:
Florian Klink 2023-09-22 13:03:30 +03:00 committed by clbot
parent 32f41458c0
commit 80a02f96ce
4 changed files with 1 additions and 9 deletions

1
tvix/Cargo.lock generated
View file

@ -2734,7 +2734,6 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
name = "tvix-castore" name = "tvix-castore"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow",
"async-stream", "async-stream",
"blake3", "blake3",
"bytes", "bytes",

View file

@ -8136,10 +8136,6 @@ rec {
then lib.cleanSourceWith { filter = sourceFilter; src = ./castore; } then lib.cleanSourceWith { filter = sourceFilter; src = ./castore; }
else ./castore; else ./castore;
dependencies = [ dependencies = [
{
name = "anyhow";
packageId = "anyhow";
}
{ {
name = "async-stream"; name = "async-stream";
packageId = "async-stream"; packageId = "async-stream";

View file

@ -4,7 +4,6 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
anyhow = "1.0.68"
async-stream = "0.3.5" async-stream = "0.3.5"
blake3 = { version = "1.3.1", features = ["rayon", "std"] } blake3 = { version = "1.3.1", features = ["rayon", "std"] }
bytes = "1.4.0" bytes = "1.4.0"

View file

@ -355,7 +355,7 @@ mod tests {
}; };
#[test] #[test]
fn test() -> anyhow::Result<()> { fn test() {
let tmpdir = TempDir::new().unwrap(); let tmpdir = TempDir::new().unwrap();
let socket_path = tmpdir.path().join("socket"); let socket_path = tmpdir.path().join("socket");
@ -535,7 +535,5 @@ mod tests {
.expect_err("must fail"); .expect_err("must fail");
} }
}); });
Ok(())
} }
} }