From cb8ce5ebd2a0baf0c03a60e8acb85eb4ec5f3a34 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 2 Aug 2026 21:30:58 +0200 Subject: [PATCH] cargo: rename package to uu_shadow. shadow-rs is already used https://crates.io/crates/uu_grep is a precedent --- Cargo.lock | 50 +++++++++++++++++++++++++------------------------- Cargo.toml | 2 +- Makefile | 2 +- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c663bd3..d3d72cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -667,31 +667,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "shadow-rs" -version = "0.2.0" -dependencies = [ - "clap", - "clap_complete", - "rustix", - "shadow-core", - "tempfile", - "uu_chage", - "uu_chfn", - "uu_chpasswd", - "uu_chsh", - "uu_groupadd", - "uu_groupdel", - "uu_groupmod", - "uu_grpck", - "uu_newgrp", - "uu_passwd", - "uu_pwck", - "uu_useradd", - "uu_userdel", - "uu_usermod", -] - [[package]] name = "smallvec" version = "1.15.1" @@ -964,6 +939,31 @@ dependencies = [ "uucore", ] +[[package]] +name = "uu_shadow" +version = "0.2.0" +dependencies = [ + "clap", + "clap_complete", + "rustix", + "shadow-core", + "tempfile", + "uu_chage", + "uu_chfn", + "uu_chpasswd", + "uu_chsh", + "uu_groupadd", + "uu_groupdel", + "uu_groupmod", + "uu_grpck", + "uu_newgrp", + "uu_passwd", + "uu_pwck", + "uu_useradd", + "uu_userdel", + "uu_usermod", +] + [[package]] name = "uu_useradd" version = "0.2.0" diff --git a/Cargo.toml b/Cargo.toml index 2e9a40b..8b192c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ # spell-checker:ignore uutils [package] -name = "shadow-rs" +name = "uu_shadow" version = "0.2.0" edition.workspace = true rust-version.workspace = true diff --git a/Makefile b/Makefile index 21312e0..e13bad1 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ ALL_TOOLS = $(SETUID_TOOLS) $(ROOT_TOOLS) all: build build: - cargo build --release --workspace --bins --exclude shadow-rs + cargo build --release --workspace --bins --exclude uu_shadow build-multicall: cargo build --release --bin shadow-rs