Cargo Features

[dependencies]
volga = { version = "0.4.4", default-features = false, features = ["full", "mini", "mini2", "http1", "http2", "middleware", "di"] }
default = http1

Default HTTP/1 only server

full = di, http1, http2, middleware

HTTP/1 and HTTP/2 server

mini = http1

Mimimal HTTP/1

mini2 = http2

Mimimal HTTP/2

http1 default full? mini?

Enables http1 of hyper and hyper-util

hyper:

HTTP versions

http2 full? mini2?

Enables http2 of hyper and hyper-util

middleware full?

Affects app::middlewares, app::http_context, volga::middleware

di full?

Affects args::dc, app::di, volga::di