Cargo Features

[dependencies]
golem-wasm-rpc = { version = "1.0.7", default-features = false, features = ["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 default = arbitrary, bincode, json, poem_openapi, protobuf, serde, text, typeinfo, wasmtime

Enables async-trait

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

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 typeinfo?

Enables bincode, prost ^0.12, and serde

Affects golem-wasm-rpc::protobuf

serde host

Enables serde

Affects golem-wasm-rpc::serde

stub
text host = wasmtime

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

golem-wasm-ast:

Wave format representation

typeinfo host json? poem_openapi? wasmtime? = protobuf

Enables analysis and protobuf of golem-wasm-ast

Affects protobuf::function_parameters

wasmtime host text? = typeinfo

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

Affects golem-wasm-rpc::wasmtime

arbitrary host

Enables arbitrary