Cargo Features
[dependencies]
utoipa-swagger-ui = { version = "9.0.2", default-features = false, features = ["debug", "debug-embed", "reqwest", "url", "vendored", "cache", "actix-web", "rocket", "axum"] }
- default = url
-
The
urlfeature is set by default wheneverutoipa-swagger-uiis added withoutsomewhere in the dependency tree.default-features = false - debug
- debug-embed
-
Enables debug-embed of rust-embed
- reqwest build
-
Enables reqwest
enabled optionally to allow rust only build with expense of bigger dependency tree and platform independent build. By default
curlsystem package is tried for downloading the Swagger UI. - url build default
-
Enables url
- vendored build
-
Enables utoipa-swagger-ui-vendored
- cache build
-
cache swagger ui zip
dirs:
used by cache feature
Features from optional dependencies
- actix-web implicit feature
-
Enables actix-web
actix-web:
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust
Affects
utoipa-swagger-ui::SwaggerUi… - rocket implicit feature
-
Enables rocket
rocket:
Web framework with a focus on usability, security, extensibility, and speed
Affects
utoipa-swagger-ui::SwaggerUi… - axum implicit feature
-
Enables axum
axum:
Web framework that focuses on ergonomics and modularity
Affects
utoipa-swagger-ui::SwaggerUi…