Cargo Features

[dependencies]
golem-wasm-rpc = { version = "0.0.22", default-features = false, features = ["host", "bincode", "json", "protobuf", "serde", "stub", "text", "typeinfo", "wasmtime", "arbitrary"] }
default = host

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

host default = arbitrary, bincode, json, protobuf, serde, text, typeinfo, wasmtime

Affects golem-wasm-rpc::WasmRpcEntry, golem-wasm-rpc::WASM_RPC_WIT

bincode host

Enables bincode

Affects golem-wasm-rpc::bincode

json host = typeinfo

Enables bigdecimal, serde, and serde_json

Affects golem-wasm-rpc::json

protobuf host

Enables bincode, prost, and serde

Affects golem-wasm-rpc::protobuf

serde host

Enables serde

Affects golem-wasm-rpc::serde

stub
text host = wasmtime

Enables wasm-wave =0.4.0

typeinfo host json? wasmtime?

Enables golem-wasm-ast

Affects protobuf::function_parameters

wasmtime host text? = typeinfo

Enables wasmtime =17.0.0

Affects golem-wasm-rpc::wasmtime

arbitrary host

Enables arbitrary