Cargo Features

[dependencies]
ic-wasm = { version = "0.7.2", default-features = false, features = ["exe", "wasm-opt", "serde"] }
default = exe, wasm-opt

These default features are set whenever ic-wasm is added without default-features = false somewhere in the dependency tree.

exe default = anyhow, clap, serde

Required by the binary

wasm-opt default = tempfile

Enables wasm-opt ^0.113.0

Affects ic-wasm::optimize

serde exe

Enables serde and serde_json

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tempfile wasm-opt
anyhow exe
clap exe