Skip to content

v0.6.0

Compare
Choose a tag to compare
@mcmah309 mcmah309 released this 18 Sep 08:15
· 54 commits to master since this release
  • Support logging on #![no_std] with the dfmt feature flag
  • Remove swallow logging methods
  • Refactor logging traits
  • Add ConsumeDisplay trait
  • Change the format of the coerce! macro
    old
    let val = coerce!(setx => {
                Ok(val) => val,
                Err(SetX::X) => {}, // handle disjointedness
                { Err(SetX) => return Err(SetY) } // terminal coercion
            })?;
    new
    let val = coerce!{ setx,
                Ok(val) => val,
                Err(SetX::X) => {}, // handle disjointedness
                { Err(SetX) => return Err(SetY) } // terminal coercion
            }?;

Full Changelog: v0.5.4...v0.6.0