Cargo Features
[dependencies]
hc-wasmer-compiler = { version = "4.3.6-hc.1", default-features = false, features = ["translator", "std", "compiler", "wasmer-artifact-create", "static-artifact-load", "static-artifact-create", "core", "enable-serde"] }
- default = std
-
The
std
feature is set by default wheneverhc-wasmer-compiler
is added without
somewhere in the dependency tree.default-features = false - translator compiler? = wasmparser
-
This feature is for compiler implementors, it enables using
Compiler
andCompilerConfig
, as well as the included wasmparser. Disable this feature if you just want a headless engine. - std default
-
Enables std of hc-wasmer-types
- compiler = translator
- wasmer-artifact-load wasmer-artifact-create
- static-artifact-load
- static-artifact-create = wasmer-object
- core = hashbrown
-
Enables core of hc-wasmer-types
- enable-serde = serde, serde_bytes
-
Enables enable-serde of hc-wasmer-types
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.
- wasmer-object static-artifact-create?
-
Enables hc-wasmer-object
- wasmparser translator?
-
Enables wasmparser ^0.121.0
- hashbrown core?
-
Enables hashbrown ^0.11
- serde enable-serde?
- serde_bytes enable-serde?