tracing
tracing copied to clipboard
subscriber: make `reload` an optional feature
Motivation
reload is a useful feature for some applications such as web-app
but is unnecessary for the others such as CLI-app. I think this feature
should be optional.
Solution
Just add a new feature flag called reload and make it optional.
Orz, this PR didn't catch the v0.3 release. 😅 Can we merge this?
Sorry! We missed this change for 0.3. The chrono vulnerability was somewhat urgent and we missed a few breaking changes that we wanted to get it. Somewhat naively, I worry that maintaining this on master while not backporting this to v0.1.x will be somewhat annoying. If it's okay with you, I'd like to keep this PR open, but mark it with a tracing-subscriber-0.4 tag so that we don't forget to merge it ahead of that release.
Thanks, @davidbarsky. 😸
Added the tracing-subscriber 0.4 milestone to this issue, I think this is still a valid candidate for getting merged. Let's keep it open for now.
cc @davidbarsky
Yeah, I'd like to consider a breaking release for a couple other changes, so when we do one, we should make sure this actually gets in too.