diff --git a/Cargo.lock b/Cargo.lock index 0feddaf..05a584c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -311,9 +311,9 @@ checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itertools" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" dependencies = [ "either", ] diff --git a/Cargo.toml b/Cargo.toml index 5208136..9e6bfd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ repository = "https://github.com/aaronriekenberg/rust-parallel" anyhow = "1" clap = { version = "4", features = ["derive"] } indicatif = "0.17" -itertools = "0.12" +itertools = "0.13" num_cpus = "1" regex = "1" thiserror = "1" diff --git a/src/parser/command_line.rs b/src/parser/command_line.rs index 3e28f6b..bd96d12 100644 --- a/src/parser/command_line.rs +++ b/src/parser/command_line.rs @@ -44,7 +44,7 @@ impl CommandLineArgsParser { for (separator, group) in &command_and_initial_arguments .iter() - .group_by(|arg| *arg == COMMANDS_FROM_ARGS_SEPARATOR) + .chunk_by(|arg| *arg == COMMANDS_FROM_ARGS_SEPARATOR) { let group_vec = group.cloned().collect(); diff --git a/src/parser/regex.rs b/src/parser/regex.rs index 760750d..c27eef4 100644 --- a/src/parser/regex.rs +++ b/src/parser/regex.rs @@ -185,7 +185,7 @@ impl AutoCommandLineArgsRegex { for (separator, _group) in &command_line_args .command_and_initial_arguments .iter() - .group_by(|arg| *arg == COMMANDS_FROM_ARGS_SEPARATOR) + .chunk_by(|arg| *arg == COMMANDS_FROM_ARGS_SEPARATOR) { if first { if separator {