about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-27T16·47+0100
committerflokli <flokli@flokli.de>2023-03-10T10·58+0000
commit6f6ddccc92e539c800c705987f7e628e66eed0a3 (patch)
tree45cc3259d33c1bddc95f3cfc98f238a3279e5add
parentb4a89461f574647b7b0656c7b37107c767ad5a0c (diff)
refactor(tvix/store): move entrypoint to src/bin/tvix-store.rs r/5936
Change-Id: Ibb83be75a2be27debd9e85b43c1b824f59e54dab
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8165
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
-rw-r--r--tvix/Cargo.nix4
-rw-r--r--tvix/store/src/bin/tvix-store.rs (renamed from tvix/store/src/main.rs)1
2 files changed, 2 insertions, 3 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix
index 2c35727427..20751f596a 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
index 6c3b44eec7..d2095a079f 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<String>,
-
     /// Whether to log in JSON
     #[clap(long)]
     json: bool,