#[instrument(err)] on functions which return impl Trait (#1236)#[instrument(err)] on functions with mutable parameters (#1167)#[instrument] with async-trait (#977)tracing-futures dependency is no longer required when using #[instrument] on async functions (#808)Thanks to @nagisa, @Txuritan, @TaKO8Ki, and @okready for contributing to this release!
syn features (#928)Thanks to new contributor @jhpratt for contributing to this release!
self in field expressions when instrumenting async-trait functions (#875)Thanks to @anton-dutov and @nightmared for contributing to this release!
#[instrument] (#672)#[instrument] now emits a compiler warning when ignoring unrecognized input (#672, #786)#[instrument] on methods that are part of async-trait trait implementations (#711)#[instrument(err)] argument to automatically emit an event if an instrumented function returns Err (#637)Thanks to @ilana and @nightmared for contributing to this release!
#[instrument] (#569)#[instrument] now emits a helpful compiler error when attempting to skip a function parameter (#600)Thanks to @Kobzol for contributing to this release!
#[instrument]ed functions (#397)self parameters when #[instrument]ing methods (#397)skip argument to #[instrument] for excluding function parameters from generated spans (#359)#[instrument]ed async functions not compiling on nightly-2019-09-11 or newer (#342)syn and quote dependencies to 1.0 (#292)proc-macro2 to avoid potential version conflicts (#296)#[instrument] attribute on async fns no longer requires a feature flag (#258)#[instrument] macro now works on generic functions (#262)