Crate features / wasm-encoder
Feature flags · wasm-encoder 0.262.0 · from crates.io 2026-10-24
wasm-encoder features: what each one does, and the line to copy
Short answerwasm-encoder 0.262.0 has 2 features. By default it turns on std, component-model; add default-features = false to start from nothing. It needs Rust 1.88.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
component-model | yes | wasmparser?/component-model |
std | yes | wasmparser?/std |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version wasm-encoder declares (rust-version), and the release that changed it:
- 0.208.0 (2024-05-20): Rust 1.76.0
- 0.244.0 (2026-01-06): Rust 1.81.0
- 0.245.0 (2026-02-10): Rust 1.82.0
- 0.247.0 (2026-04-17): Rust 1.85.0
- 0.259.0 (2026-09-10): Rust 1.88.0
- 0.254.2 (2026-10-02): Rust 1.85.0
- 0.262.0 (2026-10-13): Rust 1.88.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p wasm-encoder --precise <version>, or use resolver 3, which picks compatible versions for you.
More on wasm-encoder
Real downloads, dependents and alternatives: wasm-encoder crate data (827.9K real downloads a day, 182 dependents).
docs.rs feature list · crates.io · license Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT · edition 2024
Up next
Before you depend on itwasm-encoder crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?