I'm planning a 2.0 of emit that will make some very minor technically breaking changes to fix some mistakes and papercuts. I'll try collect a list of them here:
Breaking changes
Note that emit_core will remain 1.0. There isn't any need to break anything there. emit 2.0 will use the same runtimes as 1.0.
I'm planning a
2.0ofemitthat will make some very minor technically breaking changes to fix some mistakes and papercuts. I'll try collect a list of them here:Breaking changes
props!,evt!,metric!, andspan_guard!capture by-value by default, leavingemit!,sample!, and#[span]capturing by-reference#[cfg]in templates #341: Make#[cfg]in holes still produce the hole, but with an uncaptured valueSpanandMetricpull well-known props fromPinstead of direct fields #376: MakeMetricandSpanonly acceptimpl Propsand pull well-known props from them instead of special-casing someNote that
emit_corewill remain1.0. There isn't any need to break anything there.emit2.0will use the same runtimes as1.0.