Example with `imports_granularity = "crate"`. The following: ```rust #[cfg(true)] use std::{cmp::Ordering, hash::Hash, hash::Hasher}; use core::{cmp::Ordering, hash::Hash, hash::Hasher}; ``` will normalise to: ```rust #[cfg(true)] use std::{cmp::Ordering, hash::Hash, hash::Hasher}; use core::{cmp::Ordering, hash::{Hash, Hasher}}; ``` Note that the desire to avoid messing with `cfg`s is too conservative here: the imports are not grouped in the same way.