Cargo Features

[dependencies]
radix-wasm-instrument = { version = "1.0.0", default-features = false, features = ["std", "ignore_custom_section"] }
default = std

The std feature is set by default whenever radix-wasm-instrument is added without default-features = false somewhere in the dependency tree.

std default
ignore_custom_section

If set then custom section is ignored (if present) when WASM parsing into ModuleInfo. If it is later converted back to WASM code, custom section will not be present. It allows to spare some memory. According to the WASM spec (see https://webassembly.github.io/spec/core/appendix/custom.html#custom-sections) ignoring Custom section shall not have any impact.