Cargo Features

[dependencies]
wasm-core = { version = "0.2.15", default-features = false, features = ["no_std", "std", "jit", "trans", "debug"] }
default = std

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

no_std = bincode-no-std
std default jit? trans? = bincode
jit = libc, llvm-sys, smallvec, std

Affects wasm-core::jit, wasm-core::platform

trans = parity-wasm, std

Affects wasm-core::trans

debug

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.

bincode-no-std no_std?
bincode std
llvm-sys jit?

Enables llvm-sys ^60.0

smallvec jit?

Enables smallvec ^0.6

parity-wasm trans?

Enables parity-wasm ^0.27.2

libc jit?