From 36bed4ce57c4af353b4ae8533bb97574bf3004e8 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 14 Mar 2023 22:36:10 +0100 Subject: chore(tvix/store): drop separate bin package Apparently, having multiple packages with the same path is a bad thing: ``` The bin target `tvix-store` in package `tvix-store-bin v0.1.0 (/home/flokli/tvl/tvix/store)` has the same output filename as the lib target `tvix_store` in package `tvix-store-bin v0.1.0 (/home/flokli/tvl/tvix/store)`. Colliding filename is: /home/flokli/tvl/tvix/target/doc/tvix_store/index.html The output filenames should be unique. This is a known bug where multiple crates with the same name use the same path; see . ``` Change-Id: Ic785c0349070783baf5e8fd23f5fb60603a3c995 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8308 Tested-by: BuildkiteCI Reviewed-by: tazjin --- tvix/store/Cargo.toml | 5 +---- tvix/store/default.nix | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'tvix/store') diff --git a/tvix/store/Cargo.toml b/tvix/store/Cargo.toml index 793c75a9d84e..569b78076ae1 100644 --- a/tvix/store/Cargo.toml +++ b/tvix/store/Cargo.toml @@ -1,11 +1,8 @@ [package] -name = "tvix-store-bin" +name = "tvix-store" version = "0.1.0" edition = "2021" -[lib] -name = "tvix_store" - [dependencies] anyhow = "1.0.68" blake3 = { version = "1.3.1", features = ["rayon", "std"] } diff --git a/tvix/store/default.nix b/tvix/store/default.nix index 3d873a097ec4..ec04629ab24b 100644 --- a/tvix/store/default.nix +++ b/tvix/store/default.nix @@ -1,5 +1,5 @@ { depot, ... }: -depot.tvix.crates.workspaceMembers.tvix-store-bin.build.override { +depot.tvix.crates.workspaceMembers.tvix-store.build.override { runTests = true; } -- cgit 1.4.1