Cargo Features

Treemux has no features set by default.

treemux = { version = "0.8.5", features = ["full", "native-tls", "rustls", "cookie"] }
full = async-compression, hyper-staticfile, tracing
native-tls = hyper-tls
rustls = hyper-rustls, tokio-rustls

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

hyper-tls native-tls?

Enables hyper-tls ^0.5

hyper-rustls rustls?

Enables hyper-rustls ^0.24

hyper-staticfile full?

Enables hyper-staticfile ^0.9

Affects mux::static_files

tokio-rustls rustls?

Enables tokio-rustls ^0.24

async-compression full?

Enables async-compression ^0.3

tracing full?

Enables cookie ^0.17