mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
coreutils: update to clap 4
This commit is contained in:
Generated
+134
-112
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -261,8 +261,8 @@ uudoc = [ "zip" ]
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "3.2", features = ["wrap_help", "cargo"] }
|
||||
clap_complete = "3.1"
|
||||
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
|
||||
clap_complete = "4.0"
|
||||
once_cell = "1.13.1"
|
||||
phf = "0.10.1"
|
||||
selinux = { version="0.3", optional = true }
|
||||
|
||||
@@ -39,7 +39,7 @@ pub fn main() {
|
||||
let mut mf = File::create(Path::new(&out_dir).join("uutils_map.rs")).unwrap();
|
||||
|
||||
mf.write_all(
|
||||
"type UtilityMap<T> = phf::Map<&'static str, (fn(T) -> i32, fn() -> Command<'static>)>;\n\
|
||||
"type UtilityMap<T> = phf::Map<&'static str, (fn(T) -> i32, fn() -> Command)>;\n\
|
||||
\n\
|
||||
fn util_map<T: uucore::Args>() -> UtilityMap<T> {\n"
|
||||
.as_bytes(),
|
||||
|
||||
Reference in New Issue
Block a user