You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wasmparser: Allow to drop hash-based dependencies entirely (#1866)
* remove unnecessary cfgs in reserve method impl
* remove no longer needed cfg guard
* re-design some crate features for wasmparser
- Adds `hash-collections` crate feature.
- Adds `prefer-btree-collections` crate feature.
- Removes `no-hash-maps` crate feature.
Advantages of the new design:
- This allows to get rid of `ahash`, `hashbrown` and `indexmap` dependencies entirely when the `hash-collections` crate feature is disabled.
- This still allows to use btree-collections instead of hash-collections when `prefer-btree-collections` is enabled, similar to `no-hash-maps`.
* apply rustfmt
* remove commented-out code
* add note to hash-collections comment
* add hash-collections to default feature set
This is to keep the same semantics as previously.
* fix CI for new crate features
0 commit comments