tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.14k stars 671 forks source link

subscriber: don't gate `with_ansi()` on the "ansi" feature #3020

Open eric-seppanen opened 1 week ago

eric-seppanen commented 1 week ago

The commit 1cb523b87d3d removed this cfg gate on master. However, when the change was backported in 1cb523b87d3d the docs were updated but the cfg change was omitted. Some more detail and links are in issue #2996.

This made the docs misleading, since they say "This method itself is still available without the feature flag."

Fixes #2996.