diff options
author | Florian Klink <flokli@flokli.de> | 2022-12-29T11·07+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2022-12-29T12·07+0000 |
commit | b0879917d4f4adbe4dac6bdf7f75d9e19f559114 (patch) | |
tree | 7adcba087da71f2ee84c0a82f5651e219852f9ae /tvix | |
parent | ff71366f41daa0da09c1e4304ed05cdc908612cb (diff) |
chore(tvix/store): trim Cargo.toml r/5532
lazy_static is only used in tests, and anyhow isn't used at all (yet). This can be dropped. Change-Id: Ic41ff3f9bb93cfa600c3485e85464f78a3976504 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7668 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/Cargo.nix | 10 | ||||
-rw-r--r-- | tvix/store/Cargo.toml | 4 | ||||
-rw-r--r-- | tvix/store/src/proto.rs | 1 |
3 files changed, 9 insertions, 6 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 8e55db79c45f..aa9fc5d9dcfd 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -6172,10 +6172,6 @@ rec { features = [ "rayon" "std" ]; } { - name = "lazy_static"; - packageId = "lazy_static"; - } - { name = "prost"; packageId = "prost"; } @@ -6198,6 +6194,12 @@ rec { packageId = "tonic-build"; } ]; + devDependencies = [ + { + name = "lazy_static"; + packageId = "lazy_static"; + } + ]; }; "typenum" = rec { diff --git a/tvix/store/Cargo.toml b/tvix/store/Cargo.toml index cf57723d2159..a14fff99d62d 100644 --- a/tvix/store/Cargo.toml +++ b/tvix/store/Cargo.toml @@ -6,11 +6,13 @@ edition = "2021" [dependencies] anyhow = "1.0.68" blake3 = { version = "1.3.1", features = ["rayon", "std"] } -lazy_static = "1.4.0" prost = "0.11.2" thiserror = "1.0.38" tonic = "0.8.2" +[dev-dependencies] +lazy_static = "1.4.0" + [build-dependencies] prost-build = "0.11.2" tonic-build = "0.8.2" diff --git a/tvix/store/src/proto.rs b/tvix/store/src/proto.rs index 6c0a19364a12..e5cde99ca8dc 100644 --- a/tvix/store/src/proto.rs +++ b/tvix/store/src/proto.rs @@ -1,4 +1,3 @@ -use anyhow::Result; use std::collections::HashSet; use thiserror::Error; |