Cargo Features

rama-hyper-util has no features set by default.

[dependencies]
rama-hyper-util = { version = "0.1002.0", features = ["full", "client", "client-legacy", "server", "server-auto", "service", "http1", "http2", "tokio"] }
full = client, client-legacy, http1, http2, server, server-auto, service, tokio

Shorthand to enable everything

client client-legacy? full?

Enables tower ^0.4.1 and tower-service and client of rama-hyper

rama-hyper:

Client/Server

Affects rama-hyper-util::client, rama-hyper-util::service

client-legacy full? = client

Affects client::legacy

server full? server-auto?

Enables server of rama-hyper

Affects rama-hyper-util::server, rama-hyper-util::service

server-auto full? = http1, http2, server

Affects conn::auto

service full?

Enables tower ^0.4.1 and tower-service

Affects rama-hyper-util::service

http1 full? server-auto?

Enables http1 of rama-hyper

rama-hyper:

HTTP versions

Affects rama-hyper-util::service

http2 full? server-auto?

Enables http2 of rama-hyper

Affects rama-hyper-util::service

tokio full?

Enables socket2 and tokio

Affects connect::dns, rt::tokio