Cargo Features

[dependencies]
tower-web = { version = "0.3.7", default-features = false, features = ["async-await-preview", "rustls", "handlebars"] }
async-await-preview

This feature comes with no promise of stability. Things will break with each patch release. Use at your own risk.

Enables nightly of futures ^0.1.21 and async-await-preview of tokio ^0.1.6 and tokio-async-await

tokio-async-await:

async/await support

Affects codegen::async_await

default = handlebars

The handlebars feature is set by default whenever tower-web is added without default-features = false somewhere in the dependency tree.

rustls = tokio-rustls

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio-rustls rustls?

Enables tokio-rustls ^0.8.0

rustls support

handlebars default

Enables handlebars ~1.0.3

Handlebars support

Affects tower-web::view

tokio-async-await async-await-preview?