Cargo Features

[dependencies]
golem-wasm-rpc = { version = "1.1.7", default-features = false, features = ["host-bindings", "host", "bincode", "json", "poem_openapi", "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-bindings host = wasmtime

Affects golem-wasm-rpc::WasmRpcEntry, golem-wasm-rpc::SubscribeAny, golem-wasm-rpc::FutureInvokeResultEntry, golem-wasm-rpc::WASM_RPC_WIT, golem-wasm-rpc::WASI_POLL_WIT, golem-wasm-rpc::bincode

host default = arbitrary, bincode, host-bindings, json, poem_openapi, protobuf, serde, text, typeinfo

Enables async-trait

bincode host

Enables bincode and bincode of golem-wasm-ast

golem-wasm-ast:

Bincode serialization for analysis output

Affects golem-wasm-rpc::bincode

json host poem_openapi? = typeinfo

Enables bigdecimal, serde and serde_json and json of golem-wasm-ast

golem-wasm-ast:

Serde JSON serialization for analysis output

Affects golem-wasm-rpc::json

poem_openapi host = json, typeinfo

Enables poem-openapi and poem_openapi of golem-wasm-ast

golem-wasm-ast:

poem-openapi instances for analysis output

Affects golem-wasm-rpc::poem

protobuf host

Enables bincode, prost and serde and protobuf of golem-wasm-ast

golem-wasm-ast:

Protobuf representation of analysed types

Affects golem-wasm-rpc::protobuf

serde host

Enables serde

Affects golem-wasm-rpc::serde

stub
text host = typeinfo

Enables wasm-wave =0.6.0 and wave of golem-wasm-ast

golem-wasm-ast:

Wave format representation

typeinfo host json? poem_openapi? text? wasmtime?

Enables analysis of golem-wasm-ast

golem-wasm-ast:

Enables some higher level analysis features built on top of the WASM AST

Affects protobuf::function_parameters

wasmtime host-bindings? = typeinfo

Enables async-recursion, wasmtime =21.0.1, and wasmtime-wasi =21.0.1

Affects golem-wasm-rpc::wasmtime

arbitrary host

Enables arbitrary