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
somewhere in the dependency tree.default-features = false - bin default = bin-bindgen, bin-wasmtime
- bin-bindgen bin
-
Enables clap and wit-bindgen-core, 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, 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.