Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stabilize valuable in 0.1.x #2960

Open
wants to merge 4 commits into
base: v0.1.x
Choose a base branch
from

Conversation

mladedav
Copy link
Contributor

@mladedav mladedav commented May 1, 2024

Motivation

valuable support has had unstable support for two years now with no major issues. The crate has close to 30 million downloads on crates.io and all its dependants with more than 3 million downloads are tracing in this repository so it is safe to say that some people have used it.

There seem to be no blockers so I think that this could be stabilized and given to anyone who has not opted-in into the unstable features.

Solution

The unstable feature checks were removed as well as its mentions. Cargo feature is still present.

Potential Issues

  • Turning the feature on only for tracing but not for tracing-subscriber. There seem to have been instances (here and here) where people did this and then were surprised by the (json) subscriber using fmt::Debug instead of a specialized implementation.
    This can be solved by removing the cargo feature completely without providing an option to opt-out of valuable usage.

    This also adds a ~ sigil to macros for valuable support. These two changes can be easily split if we put the macro and test changes after the stabilization, but there would be a lot of new feature gaurds (which would hopefully be short-lived).

@mladedav mladedav requested review from hawkw and a team as code owners May 1, 2024 21:38
@hawkw hawkw closed this in 6d319a0 May 25, 2024
@davidbarsky davidbarsky reopened this May 25, 2024
hds added a commit that referenced this pull request Nov 21, 2024
Fixes #2960

Co-authored-by: Matthijs Brobbel <[email protected]>
Co-authored-by: Hayden Stainsby <[email protected]>
Co-authored-by: Eliza Weisman <[email protected]>
hds added a commit that referenced this pull request Nov 22, 2024
Fixes #2960

Co-authored-by: Matthijs Brobbel <[email protected]>
Co-authored-by: Hayden Stainsby <[email protected]>
Co-authored-by: Eliza Weisman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants