Cargo Features

jsonrpc-utils has no features set by default.

[dependencies]
jsonrpc-utils = { version = "0.3.1", features = ["server", "axum", "macros", "client", "blocking-client"] }
server axum?

Enables futures-core, futures-util, hex, rand, and tokio

Affects jsonrpc-utils::pub_sub, jsonrpc-utils::stream

axum = server

Enables axum

Affects jsonrpc-utils::axum_utils

macros

Enables anyhow and jsonrpc-utils-macros

client = reqwest

Enables anyhow

Affects client::HttpClient

blocking-client

Enables anyhow, blocking of reqwest ^0.11.11

Affects client::BlockingHttpClient

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.

reqwest blocking-client? client?

Enables reqwest ^0.11.11