Cargo Features
[dependencies]
ic-wasm = { version = "0.9.1", default-features = false, features = ["exe", "wasm-opt", "serde"] }
- default = exe, wasm-opt
-
These default features are set whenever
ic-wasm
is added without
somewhere in the dependency tree.default-features = false - exe default = anyhow, clap, serde
-
Required by the binary
- wasm-opt default = tempfile
-
Enables wasm-opt
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.