Skip to content

Update reqwest#425

Merged
yoshidan merged 4 commits intoyoshidan:mainfrom
alu:update-reqwest
Feb 22, 2026
Merged

Update reqwest#425
yoshidan merged 4 commits intoyoshidan:mainfrom
alu:update-reqwest

Conversation

@alu
Copy link
Copy Markdown
Contributor

@alu alu commented Feb 10, 2026

Starting from reqwest 1.3, the default TLS became rustls, and aws-lc is used as the crypto provider.
I updated reqwest and adjusted the features to match reqwest 1.3.
This change is breaking, so I bumped the major version too.

I do not fully understand all the complex TLS related dependencies, so please tell me if anything is wrong.

Storage uses ring internally. Do we also need to align this with the crypto provider used by reqwest and jsonwebtoken?

@yoshidan yoshidan added the safe to test safe to test label Feb 14, 2026
Comment thread artifact-registry/Cargo.toml Outdated
[package]
name = "gcloud-artifact-registry"
version = "1.4.0"
version = "2.0.0"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change the version to 1.5.0? We reserve major version bumps for significant breaking changes. For updates to interfaces or features, we use minor version increments. The same applies to the other crates as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to version 1.5.0.


[features]
default = ["default-tls", "auth", "jwt-aws-lc-rs"]
default-tls = ["google-cloud-auth?/default-tls"]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI specifies features, but since it uses the workflow from the main branch, we need to split the feature changes into two steps.

run: cargo test --release --features default-tls,rustls-tls,hickory-dns,external-account,jwt-aws-lc-rs --manifest-path foundation/auth/Cargo.toml

Could you rename rustls to rustls-tls and set default-tls to be the same as rustls-tls? After merging, I will handle the CI updates and the final feature renaming on my end.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed to rustls-tls, thanks.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default-tls feature is still required to pass CI. Could you add the default-tls feature for each create .

default-tls = ["google-cloud-auth?/default-tls"]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, sorry, i did so.

@alu
Copy link
Copy Markdown
Contributor Author

alu commented Feb 16, 2026

@yoshidan thank you for review, i've applied your feedback.

@yoshidan yoshidan added safe to test safe to test and removed safe to test safe to test labels Feb 16, 2026
@yoshidan yoshidan added safe to test safe to test and removed safe to test safe to test labels Feb 17, 2026
@yoshidan yoshidan merged commit f40f1b1 into yoshidan:main Feb 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test safe to test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants