Cargo Features
[dependencies]
moosicbox_web_server = { version = "0.1.1", default-features = false, features = ["fail-on-warnings", "actix", "serde", "compress", "cors", "htmx", "tls", "openapi", "openapi-all", "openapi-rapidoc", "openapi-redoc", "openapi-scalar", "openapi-swagger-ui"] }
- default = actix, compress, cors, htmx, openapi-all, serde, tls
-
These default features are set whenever
moosicbox_web_server
is added without
somewhere in the dependency tree.default-features = false - fail-on-warnings
- actix default
-
Enables actix-http, actix-service, actix-web, and futures-util, actix of gimbal_http_models
- serde default
-
Enables serde_json
- compress default
- cors default
-
Enables actix-cors and moosicbox_web_server_cors
- htmx default
-
Enables actix-htmx
- tls default
-
Enables openssl of optional actix-web
actix-web:
TLS via OpenSSL
- openapi openapi-rapidoc? openapi-redoc? openapi-scalar? openapi-swagger-ui?
-
Enables utoipa
Affects
moosicbox_web_server::openapi
… - openapi-all default = openapi-rapidoc, openapi-redoc, openapi-scalar, openapi-swagger-ui
- openapi-rapidoc openapi-all = openapi
-
Enables const_format and utoipa-rapidoc
- openapi-redoc openapi-all = openapi
-
Enables utoipa-redoc
- openapi-scalar openapi-all = openapi
-
Enables utoipa-scalar
- openapi-swagger-ui openapi-all = openapi
-
Enables const_format and utoipa-swagger-ui