smol-rs / fastrand

A simple and fast random number generator
Apache License 2.0
386 stars 33 forks source link

v2.0.0 #59

Closed notgull closed 1 year ago

notgull commented 1 year ago
notgull commented 1 year ago

As this is a breaking release, we should probably consider if there are any other breaking changes that we want to make before we release.

notgull commented 1 year ago

@smol-rs/admins Any objections to publishing this?

taiki-e commented 1 year ago

I was thinking of replacing the dependency on instant or making it easier to use. Currently, instant is virtually a public dependency as the user has to directly depend on instant to enable the wasm-bindgen feature.

Specifically, I was thinking of either providing something like a wasm-bindgen feature that would enable the wasm-bindgen feature of instant, or providing similar features by directly depending on wasm-bindgen (i.e., drop instant). Probably, it is also okay to start with the former and switch to the latter, though.

That said, I don't have the bandwidth to work on it right now, so if other admins are happy with the current wasm-unknown-unknown support situation, I'm fine with that.

SilvanCodes commented 1 year ago

Looking forward to use fastrand with Sync and choice!

notgull commented 1 year ago

Alright, any other objections? @smol-rs/admins

taiki-e commented 1 year ago

LGTM. Would you update the changelog to include #60?