Skip to content

Conversation

@ryanseipp
Copy link

Does your PR solve an issue?

No linked issues, but resolves duplicate versions of rand and its dependent crates for me.

Is this a breaking change?

No. sqlx-postgres does not export the types of rand, and sasl connection behavior should be equivalent after this upgrade.

Copy link
Collaborator

@abonander abonander left a comment

Choose a reason for hiding this comment

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

There are other places in the project (namely the examples) that also use rand. Can you please update those as well?

@abonander
Copy link
Collaborator

However, there's also this issue: #3931 (comment)

@ryanseipp
Copy link
Author

However, there's also this issue: #3931 (comment)

If we want to wait until we can update across the board, we'll have to wait for those RustCrypto crates to be updated, as sqlx-mysql depends on rsa which depends on rand.

@raimannma
Copy link

raimannma commented Nov 2, 2025

RSA has updated rand to 0.9

Edit: Just saw it's still only a RC :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants