diff --git a/Cargo.toml b/Cargo.toml index d99ca10..0ee1f7b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ env_logger = { version = "0.11.3", default-features = false } glob = { version = "0.3.1", default-features = false } indoc = { version = "2.0.5", default-features = false } ini-merge = { version = "0.4.5", default-features = false } -itertools = { version = "0.12.1", default-features = false } +itertools = { version = "0.13.0", default-features = false } log = { version = "0.4.21", default-features = false } medic = { version = "0.2.0" } regex = "1.10.4" diff --git a/src/transforms.rs b/src/transforms.rs index 3375297..c481aab 100644 --- a/src/transforms.rs +++ b/src/transforms.rs @@ -3,7 +3,6 @@ use std::collections::HashMap; use ini_merge::mutations::transforms as ini_transforms; -use itertools::Itertools; use strum::{EnumIter, EnumMessage, EnumString, IntoStaticStr}; /// Supported transforms @@ -56,6 +55,8 @@ impl Transform { }); println!("Supported transforms:"); println!("====================\n"); + // Workaround for https://github.com/rust-itertools/itertools/issues/942 + use itertools::Itertools; println!( "{}", Itertools::intersperse(docs, "\n\n".to_string()).collect::()