Skip to content

Update rand to 0.9#319

Open
JonathanWoollett-Light wants to merge 1 commit intoramosbugs:mainfrom
JonathanWoollett-Light:main
Open

Update rand to 0.9#319
JonathanWoollett-Light wants to merge 1 commit intoramosbugs:mainfrom
JonathanWoollett-Light:main

Conversation

@JonathanWoollett-Light
Copy link
Copy Markdown

@JonathanWoollett-Light JonathanWoollett-Light commented May 21, 2025

Closes #318

@hanyuone
Copy link
Copy Markdown

Would upgrading rand to v0.9 also involve upgrading getrandom to v0.3? Relevant information in the upgrade guide for rand here.

@ramosbugs
Copy link
Copy Markdown
Owner

see #306

@CosminPerRam
Copy link
Copy Markdown
Contributor

Although this isn't merged, consider rand 0.10.

@hanyuone
Copy link
Copy Markdown

hanyuone commented Mar 5, 2026

From rand 0.10 onwards, getrandom 0.4 is used, which no longer requires any extra rustflags, thus not leading to a breaking change for a major version (the issue seen in #306).

@ramosbugs would a PR that bumps the rand version to 0.10 be accepted?

@CosminPerRam
Copy link
Copy Markdown
Contributor

@hanyuone probably not (unless with a new major), the MSRV for 0.10 is 1.85.0, whereas we are on 1.65.0

@hanyuone
Copy link
Copy Markdown

hanyuone commented Apr 2, 2026

@CosminPerRam I see - although could #306 be merged now, since getrandom v0.3.4 uses the wasm_js backend by default, thus removing the need for setting rustflags? See the changelog for getrandom here.

@lovasoa
Copy link
Copy Markdown

lovasoa commented Apr 11, 2026

Hi ! I would love to see this merged. I currently have three different versions of rand built into sqlpage !

I think I'm not the only one who wouldn't mind a new major version being released.

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.

Update to rand 0.9

5 participants