fix(deps): resolve rustls crypto provider conflict (#143)
## Summary - Disable default features on `google-gmail1` to avoid enabling both `ring` and `aws-lc-rs` crypto providers - Explicitly enable `yup-oauth2` and `aws-lc-rs` features - Fixes runtime panic in rustls 0.23.36 which cannot auto-select when both providers are compiled in ## Root cause `google-gmail1` default features include `ring`, while `hyper-rustls` default features include `aws-lc-rs`. Both get enabled on `rustls`, causing the `CryptoProvider` ambiguity error at runtime. ## Test plan - [ ] CI passes without rustls panic - [ ] cull-gmail binary starts and connects successfully 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -1702,7 +1702,6 @@ dependencies = [
|
||||
"aws-lc-rs",
|
||||
"log",
|
||||
"once_cell",
|
||||
"ring",
|
||||
"rustls-pki-types",
|
||||
"rustls-webpki",
|
||||
"subtle",
|
||||
|
||||
@@ -29,7 +29,7 @@ config = { version = "0.15.19", default-features = false, features = [
|
||||
"toml",
|
||||
] }
|
||||
env_logger = "0.11.8"
|
||||
google-gmail1 = "7.0.0"
|
||||
google-gmail1 = { version = "7.0.0", default-features = false, features = ["yup-oauth2", "aws-lc-rs"] }
|
||||
hyper-rustls = { version = "0.27.7", features = ["http1"] }
|
||||
lazy-regex = "3.5.1"
|
||||
log = "0.4.29"
|
||||
|
||||
2
PRLOG.md
2
PRLOG.md
@@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- deps: update rust crate hyper-rustls to 0.27.7(pr [#139])
|
||||
- deps: update rust crate lazy-regex to 3.5.1(pr [#140])
|
||||
- deps: update rust crate thiserror to 2.0.18(pr [#141])
|
||||
- deps: resolve rustls crypto provider conflict(pr [#143])
|
||||
|
||||
## [0.0.16] - 2025-10-30
|
||||
|
||||
@@ -415,6 +416,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
[#140]: https://github.com/jerus-org/cull-gmail/pull/140
|
||||
[#141]: https://github.com/jerus-org/cull-gmail/pull/141
|
||||
[#142]: https://github.com/jerus-org/cull-gmail/pull/142
|
||||
[#143]: https://github.com/jerus-org/cull-gmail/pull/143
|
||||
[Unreleased]: https://github.com/jerus-org/cull-gmail/compare/v0.0.16...HEAD
|
||||
[0.0.16]: https://github.com/jerus-org/cull-gmail/compare/v0.0.15...v0.0.16
|
||||
[0.0.15]: https://github.com/jerus-org/cull-gmail/compare/v0.0.14...v0.0.15
|
||||
|
||||
Reference in New Issue
Block a user