Cargo Features

salvo-utils has no features set by default.

[dependencies]
salvo-utils = { version = "0.0.7", features = ["full", "client", "server", "http1", "http2", "runtime"] }
full = client, http1, http2, runtime, server, tcp

Shorthand to enable everything

client full?

Enables client of hyper

hyper:

Client/Server

Affects salvo-utils::client

server full?

Enables server of hyper

http1 full?

Enables http1 of hyper

hyper:

HTTP versions

Affects client::legacy

http2 full?

Enables http2 of hyper

Affects client::legacy

tcp runtime full?