-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split up to wasm-bindgen
and to a new wasm-bindgen-core
#2770
Comments
Are there any workarounds in the meantime? |
@maxcountryman lock indexmap like this: |
So I ended up here too. It looks like the only working solution right now is to pin |
Unfortunately, that won't work - I was hoping to try and replace So, I think the best thing we can do is deprecate the @alexcrichton What do you think? |
Yes I think deprecation is fine myself. |
It might make sense to create a test for this, just to ensure that this indeed works. Now and in the future. |
Thanks to @andoriyu for their contributions to make this happen. |
- Needed to remove dependency cycle. rustwasm/wasm-bindgen#2770
Motivation
Break the
ahash
dependency cycle:Currently
getrandom
useswasm-bindgen
just to be able to use:Due to feature unification, several crates end up enabling features inside
wasm-bindgen
and its downstream dependencies that causes a dependency cycle that affects various parts of the rust community:tkaitchuck/aHash#95
Proposed Solution
This: tkaitchuck/aHash#95 (comment)
Alternatives
Break the
ahash
dependency cycle somewhere else.But creating a minimal wasm crate that can be used by low-level dependencies like
getrandom
without the risk of pulling in too many dependencies due to feature unification seems to be the most elegant solution.Additional Context
Crates like
wasm-bindgen
,getrandom
are seemingly cornerstones to this ecosystem, it would be great if fundamental crates would compile.The text was updated successfully, but these errors were encountered: