sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

chore(postgres): update rand to 0.9.0

Open ryanseipp opened this issue 5 months ago • 3 comments

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.

ryanseipp avatar Jul 23 '25 13:07 ryanseipp

However, there's also this issue: https://github.com/launchbadge/sqlx/pull/3931#discussion_r2214203657

abonander avatar Jul 24 '25 10:07 abonander

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.

ryanseipp avatar Jul 24 '25 19:07 ryanseipp

RSA has updated rand to 0.9

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

raimannma avatar Nov 02 '25 11:11 raimannma