Skip to content

fix: rustls feature is now called log #118

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

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

Conversation

cratelyn
Copy link

@cratelyn cratelyn commented Aug 5, 2025

see https://github.com/rustls/rustls/blob/main/rustls/Cargo.toml#L23

this feature was renamed in rustls/rustls@192ab85, via rustls/rustls#2549.

this updates the logging feature so that it now points to the new name of this feature.

see:
https://github.com/rustls/rustls/blob/main/rustls/Cargo.toml#L23

this feature was renamed in
rustls/rustls@192ab85,
via rustls/rustls#2549.

this updates the `logging` feature so that it now points to the new name
of this feature.

Signed-off-by: katelyn martin <[email protected]>
@cpu
Copy link
Member

cpu commented Aug 5, 2025

this feature was renamed in rustls/rustls@192ab85, via rustls/rustls#2549.

I don't think the commit with that change has been published in a release yet, right?

see https://github.com/rustls/rustls/blob/main/rustls/Cargo.toml#L23

Since this repo is using rustls 0.23.x I think the right Cargo.toml to check is the one from rel-0.23, which still has logging:
https://github.com/rustls/rustls/blob/647ece13463bbb6eaf756146596fe182644424b1/rustls/Cargo.toml#L25

@ctz
Copy link
Member

ctz commented Aug 5, 2025

I don't think the commit with that change has been published in a release yet, right?

Correct.

rustls 0.23.* does actually have a feature called log (which doesn't enable its logging...) because cargo adds a feature for each optional dependency crate.

@cratelyn
Copy link
Author

cratelyn commented Aug 5, 2025

that's right! this rename is in main, but not yet released. my understanding that this will be going out as a part of a forthcoming 0.24 release. i'm happy to hold this as a draft until that has been released, but thought it'd be helpful to point out in advance.

@cratelyn
Copy link
Author

cratelyn commented Aug 5, 2025

I don't think the commit with that change has been published in a release yet, right?

Correct.

rustls 0.23.* does actually have a feature called log (which doesn't enable its logging...) because cargo adds a feature for each optional dependency crate.

and this is also true! "rustls feature" felt like the most concise way to fit this in a pull request title, vs "implicitly added cargo feature for an optional dependency" 😅

@cpu
Copy link
Member

cpu commented Aug 5, 2025

i'm happy to hold this as a draft until that has been released

Sounds good. Let's x-link with rustls/rustls#2400 to help remember.

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.

3 participants