Cargo Features

[dependencies]
casper-wasm-utils = { version = "4.0.0", default-features = false, features = ["std", "cli", "sign_ext", "call_indirect_overlong"] }
default = std

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

std default cli?

Enables std of byteorder, casper-wasm, and log

cli = clap, env_logger, glob, lazy_static, std

Affects casper-wasm-utils::logger

Required by wasm-gas and wasm-stack-height binaries

sign_ext

Enables sign_ext of casper-wasm

casper-wasm:

Sign-extension operators https://github.com/WebAssembly/sign-extension-ops/

call_indirect_overlong

Enables call_indirect_overlong of casper-wasm

casper-wasm:

Call-indirect-overlong A subset of the reference-types feature that contains just the change to the call_indirect instruction encoding to change the zero byte to an LEB encoding which may have an overlong encoding. https://github.com/WebAssembly/reference-types/ https://github.com/WebAssembly/tool-conventions/blob/main/Lime.md

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.

clap cli?

Enables clap ^2

Dependencies only used by the binaries

env_logger cli?

Enables env_logger ^0.9

glob cli?
lazy_static cli?