mirror of
https://github.com/uutils/shadow.git
synced 2026-06-10 16:14:57 -07:00
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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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);
|
||||
|
||||
+189
-124
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user