cargo-minimize/src/passes/mod.rs
moxian 3de6992d63 Add a split-use pass.
It transforms "use std::io::{Read, Write}" into
"use std::io::Read; use std::io::Write"

Which later allows to remove just precisely the statements
we do not need, and leave rest be.

The test from the last commit does not pass, but that
is seemingly to do with the test harness setup, since it
works fine locally.
2025-04-20 15:54:50 +02:00

10 lines
248 B
Rust

mod everybody_loops;
mod field_deleter;
mod item_deleter;
mod privatize;
mod split_use;
pub use self::{
everybody_loops::EverybodyLoops, field_deleter::FieldDeleter, item_deleter::ItemDeleter,
privatize::Privatize, split_use::SplitUse,
};