Cargo Features

yerpc has no features set by default.

[dependencies]
yerpc = { version = "0.5.3", features = ["anyhow_expose", "support-axum", "support-tungstenite", "openrpc"] }
anyhow_expose = anyhow
support-axum = anyhow, axum, tokio, tracing

Affects integrations::axum

support-tungstenite = anyhow, tokio, tokio-tungstenite

Affects integrations::tungstenite

openrpc = schemars

Enables openrpc of yerpc_derive

Affects yerpc::openrpc, yerpc::RpcServer.openrpc_specification

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.

schemars openrpc?
anyhow anyhow_expose? support-axum? support-tungstenite?

Enables anyhow

optional dependencies

axum support-axum?
tokio-tungstenite support-tungstenite?

Enables tokio-tungstenite ^0.20

tokio support-axum? support-tungstenite?
tracing support-axum?