uuid-rs / uuid

Generate and parse UUIDs.

Home Page:https://www.crates.io/crates/uuid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.7.0 breaking change

andrewweston opened this issue · comments

1.7.0 has dropped the wasm-bindgen feature flag making it incompatible with previous versions (<= 1.6.1). I am having issues updating as a 3rd-party dependency that is using the uuid library with the wasm-bindgen feature flag.

I have pinned the version to 1.6.1 for now, so not a showstopper.

Perhaps an option may be to use the semver trick as a workaround?

Hi @andrewweston 👋

Thanks for pointing this out! The wasm-bindgen dependency was never meant to be public. It was only a Cargo limitation that made it so. Packages should instead use the js feature. If that dependency in question is up on GitHub somewhere I can possibly send a PR their way.

Thank you. The library is https://github.com/redbadger/crux/crux_core (a great framework for cross-platform UIs). I'm happy to create the PR as I already have everything in place.