From b0879917d4f4adbe4dac6bdf7f75d9e19f559114 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 29 Dec 2022 12:07:51 +0100 Subject: chore(tvix/store): trim Cargo.toml 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 Tested-by: BuildkiteCI --- tvix/Cargo.nix | 10 ++++++---- tvix/store/Cargo.toml | 4 +++- tvix/store/src/proto.rs | 1 - 3 files changed, 9 insertions(+), 6 deletions(-) (limited to 'tvix') diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 8e55db79c45f..aa9fc5d9dcfd 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -6171,10 +6171,6 @@ rec { packageId = "blake3"; 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; -- cgit 1.4.1