Rename crate to veil-rs and update Nix scripts

Change package name from veil_rs to veil-rs.
Update Cargo.toml and Cargo.lock accordingly.
Update cargoHash in default.nix for the renamed package.
Comment out postInstall step that renamed the binary.
Rename `args` variable to `_args` in main.rs to silence unused warning.
This commit is contained in:
2026-06-04 12:33:12 +02:00
parent c78ce27dba
commit 6e46e26f7a
5 changed files with 10 additions and 10 deletions
Generated
+1 -1
View File
@@ -1114,7 +1114,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "veil_rs"
name = "veil-rs"
version = "0.1.0"
dependencies = [
"anyhow",
+1 -1
View File
@@ -1,5 +1,5 @@
[package]
name = "veil_rs"
name = "veil-rs"
version = "0.1.0"
edition = "2024"
+4 -4
View File
@@ -21,7 +21,7 @@ in
# hash = lib.fakeHash;
# };
cargoHash = "sha256-QV++fXA2+0Irzwtb6jCrphjIKKEtz8jOJURMnSP3YF4=";
cargoHash = "sha256-AVFUk9Deq9bPp+UK0fZlRA81S5NxiEHV7HypGGsJ4/0=";
nativeBuildInputs = [pkg-config];
@@ -32,9 +32,9 @@ in
passthru.updateScript = nix-update-script {};
postInstall = ''
mv $out/bin/veil_rs $out/bin/veil-rs
'';
# postInstall = ''
# cp static files
# '';
meta = {
description = "Declarative Tauri wrapper";
+3 -3
View File
@@ -48,9 +48,9 @@
#
nativeBuildInputs = with pkgs; [pkg-config];
postInstall = ''
mv $out/bin/veil_rs $out/bin/veil-rs
'';
# postInstall = ''
# cp static files
# '';
};
};
+1 -1
View File
@@ -2,7 +2,7 @@ use std::io::Result;
use veil_rs::cli::Cli;
fn main() -> Result<()> {
let args: Cli = Cli::get_args();
let _args: Cli = Cli::get_args();
Ok(())
}