Skip to content

Upgrade wasm-tools deps and pare down required dependencies by splitting off features.#15

Open
cfallin wants to merge 1 commit intomainfrom
cfallin/reduce-dependencies
Open

Upgrade wasm-tools deps and pare down required dependencies by splitting off features.#15
cfallin wants to merge 1 commit intomainfrom
cfallin/reduce-dependencies

Conversation

@cfallin
Copy link
Copy Markdown
Member

@cfallin cfallin commented May 9, 2026

This commit reduces the number of dependencies that waffle requires when optional features are disabled: debugging, Rayon for parallel compilation, dependencies arising from the CLI utility, and those from fuzzing-related infrastructure are all separable from the core library. With these changes, the cargo tree output is:

% cargo tree --no-default-features
waffle v0.3.0 (.../waffle)
├── anyhow v1.0.66
├── fxhash v0.2.1
│   └── byteorder v1.5.0
├── log v0.4.27
├── smallvec v1.15.1
├── wasm-encoder v0.248.0
│   └── leb128fmt v0.1.0
└── wasmparser v0.248.0
    └── bitflags v2.9.1

(Reduced from 122 lines before this change.)

…ing off features.

This commit reduces the number of dependencies that waffle requires
when optional features are disabled: debugging, Rayon for parallel
compilation, dependencies arising from the CLI utility, and those from
fuzzing-related infrastructure are all separable from the core
library. With these changes, the `cargo tree` output is:

```
% cargo tree --no-default-features
waffle v0.3.0 (.../waffle)
├── anyhow v1.0.66
├── fxhash v0.2.1
│   └── byteorder v1.5.0
├── log v0.4.27
├── smallvec v1.15.1
├── wasm-encoder v0.248.0
│   └── leb128fmt v0.1.0
└── wasmparser v0.248.0
    └── bitflags v2.9.1
```

(Reduced from 122 lines before this change.)
@cfallin cfallin requested a review from fitzgen May 9, 2026 03:43
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.

1 participant