Cargo Features

[dependencies]
smol-axum = { version = "0.1.0", default-features = false, features = ["http1", "http2", "async-net"] }
default = http1, http2

These default features are set whenever smol-axum is added without default-features = false somewhere in the dependency tree.

http1 default

Enables http1 of hyper and hyper-util

hyper:

HTTP versions

http2 default

Enables http2 of hyper and hyper-util

Features from optional dependencies

async-net implicit feature

Enables async-net

async-net:

Async networking primitives for TCP/UDP/Unix communication