Cargo Features

[dependencies]
wrpc = { version = "0.1.2", default-features = false, features = ["bin", "nats", "wasmtime"] }
default = bin, nats, wasmtime

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

bin default

Enables wit-bindgen-core, wrpc-cli and wrpc-wasmtime-nats-cli, clap, serde, and serde_json, rt-multi-thread and sync of tokio, clap of wit-bindgen-wrpc-go and wit-bindgen-wrpc-rust

Required by wit-bindgen-wrpc, wrpc-keyvalue-nats and wrpc-wasmtime-nats binaries

nats default

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

Required by wrpc-keyvalue-nats and wrpc-wasmtime-nats binaries

wasmtime default

Enables wrpc-runtime-wasmtime

Required by the wrpc-wasmtime-nats binary

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