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 wheneverswaggapi
is added without
somewhere in the dependency tree.default-features = false - 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