tracing/nightly-examples
Eliza Weisman 4dad420ee1
subscriber: prepare to release 0.2.1 (#586)
### Changed

- **filter**: `EnvFilter` directive selection now behaves correctly
  (i.e. like `env_logger`) (#583)

### Fixed

- **filter**: Fixed `EnvFilter` incorrectly allowing less-specific
  filter directives to enable events that are disabled by more-specific
  filters (#583)
- **filter**: Multiple significant `EnvFilter`  performance
  improvements, especially when filtering events generated by `log`
  records (#578, #583)
- **filter**: Replaced `BTreeMap` with `Vec` in `DirectiveSet`,
  improving iteration performance significantly with typical numbers of
  filter directives (#580)

A big thank-you to @samschlegel for lots of help with `EnvFilter` 
performance tuning in this release!

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2020-02-14 10:56:03 -08:00
..

nightly-only examples

These examples demonstrate compatibility with Rust features that are not yet stable (primarily, async-await syntax).

Note that these examples are not in the root workspace, to avoid compiling them on unsupported Rust versions when running cargo test --all. Therefore, they must be run from within the nightly-examples directory.

Examples

  • async_fn.rs: demonstrates how the trace attribute macro can be used to instrument an async fn.