Skip to content

Conversation

@Eveeifyeve
Copy link

fixes #787.

@Eveeifyeve Eveeifyeve changed the title chore: bump minver to 1.80 and switch to lazylock chore: switch to oncelock Aug 22, 2025
@Eveeifyeve
Copy link
Author

Still panics!

thread 'tokio-runtime-worker' panicked at /Users/eveeifyeve/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-0.23.26/src/crypto/mod.rs:249:14:               no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Copy link
Contributor

@maflcko maflcko left a comment

Choose a reason for hiding this comment

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

I'd say it would be easier to review if the bug you are trying to fix had easy and minimal steps to reproduce. This way, reviewers can understand and test the issue and the fix themselves.

categories = ["web-programming::http-client"]
keywords = ["github", "github-api"]
rust-version = "1.73.0"
rust-version = "1.80"
Copy link
Contributor

Choose a reason for hiding this comment

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

no objection to bumping, but this will drop the default rustc on vanilla Ubuntu noble (via apt): https://packages.ubuntu.com/noble/rustc, which is 1.75 right now.

Copy link
Author

@Eveeifyeve Eveeifyeve Aug 23, 2025

Choose a reason for hiding this comment

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

It's required for it to not be poisioned, lazylock was implemented in 1.80.

Please see https://doc.rust-lang.org/beta/std/sync/struct.LazyLock.html for more info

@Eveeifyeve Eveeifyeve changed the title chore: switch to oncelock chore: switch to lazylock, bump min ver to 1.80 Aug 23, 2025
@Eveeifyeve Eveeifyeve changed the title chore: switch to lazylock, bump min ver to 1.80 chore: switch to lazylock, bump minver to 1.80 Aug 23, 2025
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.

Replace once_cell with Lazylock builitin, once_cell causes issues.

2 participants