Cargo Features

rama-hyper has no features set by default.

[dependencies]
rama-hyper = { version = "0.1001000.0", features = ["full", "http1", "http2", "client", "server", "ffi", "tracing", "nightly"] }
default

Nothing by default

full = client, http1, http2, server

Easily turn it all on

http1 full?

HTTP versions

Enables futures-channel, futures-util, httparse, and itoa

futures-channel:

Optional

Affects conn::http1, conn::http1

http2 full?

Enables futures-channel, futures-util, and h2

Affects conn::http2, ext::Protocol, conn::http2

client full?

Client/Server

Enables want

server full?

Enables httpdate

ffi

C-API support (currently unstable (no semver))

Enables http-body-util and libc

Affects rama-hyper::ffi

tracing

Utilize tracing (currently unstable)

Enables tracing

nightly

internal features used in CI