Cargo Features

quic-rpc-utils has no features set by default.

[dependencies]
quic-rpc-utils = { version = "0.2.8", features = ["flume", "hyper", "iroh", "pipe", "quinn"] }
flume

Enables flume-transport of quic-rpc

quic-rpc:

In memory transport using the flume crate

hyper

Enables hyper =0.14.16 and hyper-transport of quic-rpc

quic-rpc:

HTTP transport using the hyper crate

iroh = quinn

Enables anyhow and iroh and iroh-transport of quic-rpc

quic-rpc:

p2p QUIC transport using the iroh crate

pipe = pin-project

Enables serde, bytes and futures-sink, use-std of postcard, io-util and net of tokio

quinn iroh?

Enables rcgen, quinn-transport of quic-rpc and ring of iroh-quinn

iroh-quinn:

Enable the ring crypto provider. Outside wasm*-unknown-unknown targets, this enables Endpoint::client and Endpoint::server conveniences.

Affects quic-rpc-utils::gen_server_cert, quic-rpc-utils::save_cert_file, quic-rpc-utils::read_cert_file, quic-rpc-utils::configure_server, quic-rpc-utils::configure_client

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.

anyhow iroh?
bytes pipe?
futures-sink pipe?
iroh-quinn quinn?
pin-project pipe?
postcard pipe?
rcgen quinn?
serde pipe?