From 6f6ddccc92e539c800c705987f7e628e66eed0a3 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 27 Feb 2023 17:47:16 +0100 Subject: [PATCH] refactor(tvix/store): move entrypoint to src/bin/tvix-store.rs Change-Id: Ibb83be75a2be27debd9e85b43c1b824f59e54dab Reviewed-on: https://cl.tvl.fyi/c/depot/+/8165 Tested-by: BuildkiteCI Reviewed-by: raitobezarius --- tvix/Cargo.nix | 4 ++-- tvix/store/src/{main.rs => bin/tvix-store.rs} | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) rename tvix/store/src/{main.rs => bin/tvix-store.rs} (99%) diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 2c3572742..20751f596 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -8279,8 +8279,8 @@ rec { edition = "2021"; crateBin = [ { - name = "tvix-store-bin"; - path = "src/main.rs"; + name = "tvix-store"; + path = "src/bin/tvix-store.rs"; requiredFeatures = [ ]; } ]; diff --git a/tvix/store/src/main.rs b/tvix/store/src/bin/tvix-store.rs similarity index 99% rename from tvix/store/src/main.rs rename to tvix/store/src/bin/tvix-store.rs index 6c3b44eec..d2095a079 100644 --- a/tvix/store/src/main.rs +++ b/tvix/store/src/bin/tvix-store.rs @@ -23,7 +23,6 @@ use tracing::{info, Level}; struct Cli { #[clap(long, short = 'l')] listen_address: Option, - /// Whether to log in JSON #[clap(long)] json: bool,