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

tracing-core: Do not add valuable/std feature as dependency unless … #3002

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

mladedav
Copy link
Contributor

@mladedav mladedav commented Jun 9, 2024

Motivation

tracing-core adds a dependency on valuable anytime the std (or default) feature is enabled even when valuable is not meant to be used. This was pointed out by this comment.

Solution

Only add the feature dependency when something enables valuable.

This does not apply to master as valuable support there is always on.

@mladedav mladedav requested review from hawkw and a team as code owners June 9, 2024 21:41
@hawkw hawkw enabled auto-merge (squash) June 9, 2024 21:46
@hawkw hawkw disabled auto-merge June 9, 2024 21:46
@hawkw hawkw enabled auto-merge (squash) June 9, 2024 21:47
@hawkw hawkw merged commit 6d00d7d into tokio-rs:v0.1.x Jun 9, 2024
50 of 51 checks passed
@mladedav mladedav deleted the dm/core-valuable-dep branch June 9, 2024 21:50
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