-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make tracing
an unstable feature
#3319
Labels
A-dependencies
Area: library dependencies.
B-breaking-change
Blocked: this is an "API breaking change".
C-feature
Category: feature. This is adding a new feature.
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
Milestone
Comments
seanmonstar
added
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
C-feature
Category: feature. This is adding a new feature.
B-breaking-change
Blocked: this is an "API breaking change".
A-dependencies
Area: library dependencies.
labels
Sep 18, 2023
Hello, I'm currently working on this. I've also modified # Utilize tracing (currently unstable)
tracing = ["dep:tracing"] Is there anything I am missing? If not, I can open a PR. |
RamziA961
added a commit
to RamziA961/hyper
that referenced
this issue
Sep 27, 2023
This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in hyperium#2874, to reach hyper 1.0. Closes hyperium#3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to revert to previous behavior.
RamziA961
added a commit
to RamziA961/hyper
that referenced
this issue
Sep 27, 2023
This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in hyperium#2874, to reach hyper 1.0. Closes hyperium#3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to revert to previous behavior.
RamziA961
added a commit
to RamziA961/hyper
that referenced
this issue
Sep 27, 2023
This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in hyperium#2874, to reach hyper 1.0. Closes hyperium#3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to revert to previous behavior.
RamziA961
added a commit
to RamziA961/hyper
that referenced
this issue
Sep 27, 2023
This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in hyperium#2874, to reach hyper 1.0. Closes hyperium#3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to revert to previous behavior.
seanmonstar
pushed a commit
that referenced
this issue
Oct 2, 2023
* feat(upgrade): introduce tracing as an optional unstable feature This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in #2874, to reach hyper 1.0. - Introduce several macros that act as wrappers around the `tracing` module's macros to allow for more concise syntax for conditional compilation of `tracing` macro calls. As `tracing` is unstable, the new `trace` module will facilitate transitioning `tracing` to an optional feature, as outlined in #2874 and #3326. - Refactor code to utilize tracing macros from the new `trace` module. - Add a `rustc` configuration flag (`hyper_unstable_tracing`) that must be passed to the compiler when using the `tracing` feature. Throw a compiler error if `tracing` is enabled without the flag. Part of the effort to transtition `tracing` to an unstable dependecy. See #3326 and #2874. - Modify `package.metadata.docs.rs` in `Cargo.toml` to include `tracing` to list of `features` and `--cfg hyper_unstable_tracing` to the list of `rustdoc-args`. - Add unstable section to `lib.rs` detailing unstable features. Add information about `tracing` and `ffi` to unstable features section. - Log errors as a field rather than part of a formatted string. Closes #3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to an unstable feature to revert to previous behavior.
0xE282B0
pushed a commit
to 0xE282B0/hyper
that referenced
this issue
Jan 12, 2024
…erium#3326) This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in hyperium#2874, to reach hyper 1.0. - Introduce several macros that act as wrappers around the `tracing` module's macros to allow for more concise syntax for conditional compilation of `tracing` macro calls. As `tracing` is unstable, the new `trace` module will facilitate transitioning `tracing` to an optional feature, as outlined in hyperium#2874 and hyperium#3326. - Refactor code to utilize tracing macros from the new `trace` module. - Add a `rustc` configuration flag (`hyper_unstable_tracing`) that must be passed to the compiler when using the `tracing` feature. Throw a compiler error if `tracing` is enabled without the flag. Part of the effort to transtition `tracing` to an unstable dependecy. See hyperium#3326 and hyperium#2874. - Modify `package.metadata.docs.rs` in `Cargo.toml` to include `tracing` to list of `features` and `--cfg hyper_unstable_tracing` to the list of `rustdoc-args`. - Add unstable section to `lib.rs` detailing unstable features. Add information about `tracing` and `ffi` to unstable features section. - Log errors as a field rather than part of a formatted string. Closes hyperium#3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to an unstable feature to revert to previous behavior.
0xE282B0
pushed a commit
to 0xE282B0/hyper
that referenced
this issue
Jan 16, 2024
…erium#3326) This change allow users to opt out of tracing via the `tracing` crate by adding tracing as an optional feature. This change is part of the effort, outlined in hyperium#2874, to reach hyper 1.0. - Introduce several macros that act as wrappers around the `tracing` module's macros to allow for more concise syntax for conditional compilation of `tracing` macro calls. As `tracing` is unstable, the new `trace` module will facilitate transitioning `tracing` to an optional feature, as outlined in hyperium#2874 and hyperium#3326. - Refactor code to utilize tracing macros from the new `trace` module. - Add a `rustc` configuration flag (`hyper_unstable_tracing`) that must be passed to the compiler when using the `tracing` feature. Throw a compiler error if `tracing` is enabled without the flag. Part of the effort to transtition `tracing` to an unstable dependecy. See hyperium#3326 and hyperium#2874. - Modify `package.metadata.docs.rs` in `Cargo.toml` to include `tracing` to list of `features` and `--cfg hyper_unstable_tracing` to the list of `rustdoc-args`. - Add unstable section to `lib.rs` detailing unstable features. Add information about `tracing` and `ffi` to unstable features section. - Log errors as a field rather than part of a formatted string. Closes hyperium#3319 BREAKING CHANGES: tracing is disabled by default and requires users to opt in to an unstable feature to revert to previous behavior. Signed-off-by: Sven Pfennig <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-dependencies
Area: library dependencies.
B-breaking-change
Blocked: this is an "API breaking change".
C-feature
Category: feature. This is adding a new feature.
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
No description provided.
The text was updated successfully, but these errors were encountered: