Cargo Features

[dependencies]
wrpc = { version = "0.14.0", default-features = false, features = ["bin", "bin-bindgen", "bin-wasmtime", "nats", "net", "quic", "wasmtime", "web-transport"] }
default = bin, nats, net, quic, wasmtime, web-transport

These default features are set whenever wrpc is added without default-features = false somewhere in the dependency tree.

bin default = bin-bindgen, bin-wasmtime
bin-bindgen bin

Enables clap and wit-bindgen-core ^0.34, clap of wit-bindgen-wrpc-go and wit-bindgen-wrpc-rust

Required by the wit-bindgen-wrpc binary

bin-wasmtime bin

Enables wrpc-wasmtime-cli, rt-multi-thread of tokio

Required by the wrpc-wasmtime binary

nats default

Enables async-nats ^0.37, wrpc-transport-nats, nats of wrpc-cli

net default

Enables net of wrpc-transport

quic default

Enables wrpc-transport-quic

wasmtime default

Enables wrpc-runtime-wasmtime

web-transport default

Enables wrpc-transport-web

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.

wit-bindgen-wrpc-rust bin-bindgen?
wrpc-cli nats