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

refactor!: rename log feature to tracing-log #1930

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mxinden
Copy link
Contributor

@mxinden mxinden commented Jul 22, 2024

Previously quinn* would provide the log feature to log events via log if no tracing subscriber exists.

Later #1923 allowed quinn-udp to log via log directly, making tracing an optional dependency. For that, it introduced the direct-log feature, a workaround name in order to not introduce a breaking change.

This commit cleans up the above, renaming the log feature to tracing-log and the direct-log to log. This is a breaking change and thus quinn-udp is bumped to v0.6.0.

See #1921 for the full history.


Only merge before the next breaking change of quinn.

I am opening this up early as it is (a) still fresh in my mind, (b) in order to keep track of it and (c) make the next breaking change easier. Feel free to close if you don't think it is useful.

Previously `quinn*` would provide the `log` feature to log events via `log` if
no `tracing` subscriber exists.

Later quinn-rs#1923 allowed `quinn-udp` to log via
`log` directly, making `tracing` an optional dependency. For that, it introduced
the `direct-log` feature, a workaround name in order to not introduce a breaking
change.

This commit cleans up the above, renaming the `log` feature to `tracing-log` and
the `direct-log` to `log`. This is a breaking change and thus `quinn-udp` is
bumped to `v0.6.0`.

See quinn-rs#1921 for the full history.
@djc djc added the breaking label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants