code_passenger 0.4.7

Scans a Rust workspace with klepto and does the writing: feature gates across every crate from one features document, proven by cargo check, Cargo.toml edits, file headers from the plan, and the history of it.
Documentation
1
2
3
4
5
pub fn produce<S: Clone>(base: &S, f: impl FnOnce(&mut S)) -> S {
    let mut draft = base.clone();
    f(&mut draft);
    draft
}