Merge pull request #10 from shadow-utils-rs/feat/8-uucore-integration

arch: migrate to uucore for uutils drop-in
This commit is contained in:
Pierre Warnier
2026-03-23 13:57:19 +01:00
committed by GitHub
4 changed files with 194 additions and 128 deletions
+3
View File
@@ -31,6 +31,9 @@ shadow-core = { path = "src/shadow-core" }
# CLI
clap = { version = "4", features = ["derive", "wrap_help"] }
# uutils integration
uucore = "0.7"
# Error handling
thiserror = "2"
+1
View File
@@ -20,6 +20,7 @@ libc = { workspace = true }
nix = { workspace = true }
shadow-core = { workspace = true, features = ["shadow", "login-defs"] }
thiserror = { workspace = true }
uucore = { workspace = true }
[features]
default = []
+1 -4
View File
@@ -3,7 +3,4 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
fn main() {
let code = uu_passwd::uumain(std::env::args_os());
std::process::exit(code);
}
uucore::bin!(uu_passwd);
File diff suppressed because it is too large Load Diff