Cargo Features

[dependencies]
swaggapi = { version = "0.2.2", default-features = false, features = ["swagger-ui", "actix", "axum", "actix-files"] }
default = swagger-ui

The swagger-ui feature is set by default whenever swaggapi is added without default-features = false somewhere in the dependency tree.

swagger-ui default

Enables swagger-ui

actix actix-files?

Enables actix-web

Affects handler::SwaggapiHandler.actix

axum

Enables axum, bytes, and tower ~0.4

Affects handler::SwaggapiHandler.axum

actix-files = actix

Enables actix-files