Cargo Features

[dependencies]
loginmanager = { version = "0.2.2", default-features = false, features = ["axum_layer", "actix_layer"] }
default = axum_layer

The axum_layer feature is set by default whenever loginmanager is added without default-features = false somewhere in the dependency tree.

axum_layer default = axum, tower-layer, tower-service
actix_layer = actix-web

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.

tower-service axum_layer
tower-layer axum_layer
actix-web actix_layer?
axum axum_layer