Cargo Features

[dependencies]
lambda-web = { version = "0.2.1", default-features = false, features = ["actix4", "rocket05", "br", "hyper"] }
default = br

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

actix4 = actix-http, actix-service, actix-web

Enable one of your favorite web-framework

rocket05 = rocket
br default = brotli

Compress output with Brotli

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.

hyper implicit feature

Enables hyper ^0.14

hyper:

A fast and correct HTTP library

actix-web actix4?
actix-http actix4?
actix-service actix4?
rocket rocket05?
brotli br

Enables brotli ^3