-
Notifications
You must be signed in to change notification settings - Fork 721
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-journald pulling in default features of dependencies #1465
Labels
kind/bug
Something isn't working
Comments
Yup, we should fix that --- good catch, thanks for reporting! |
hawkw
pushed a commit
that referenced
this issue
May 9, 2022
## Motivation Closes #1465. ## Solution I'm just disabling the default features of `tracing-journald`'s dependency on `tracing-subscriber`. The original issue talked about the crate's dependencies more broadly but considering that the standard library is already depended upon I didn't think it made sense to change the `tracing-core` dependency's features (which are just `no_std` support).
hawkw
pushed a commit
that referenced
this issue
Jun 6, 2022
## Motivation Closes #1465. ## Solution I'm just disabling the default features of `tracing-journald`'s dependency on `tracing-subscriber`. The original issue talked about the crate's dependencies more broadly but considering that the standard library is already depended upon I didn't think it made sense to change the `tracing-core` dependency's features (which are just `no_std` support).
hawkw
pushed a commit
that referenced
this issue
Jun 7, 2022
## Motivation Closes #1465. ## Solution I'm just disabling the default features of `tracing-journald`'s dependency on `tracing-subscriber`. The original issue talked about the crate's dependencies more broadly but considering that the standard library is already depended upon I didn't think it made sense to change the `tracing-core` dependency's features (which are just `no_std` support).
@hawkw Could you make a release of tracing-journald with this change included? |
@hawkw Ping 😊 |
@hawkw Another friendly ping 😇 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Version
Platform
Not relevant.
Description
I was looking to reduce the size of my dependency tree and noticed that
tracing-journald
is pulling in the default features oftracing-core
andtracing-subscriber
, which adds many unneeded dependencies (this can be partially seen in the version section, e.g. I don't needtracing-serde
). I'm not the most familiar with thetracing
ecosystem but I believe this is unnecessary.The text was updated successfully, but these errors were encountered: