Cargo Features
Utoipa has no features set by default.
[dependencies]
utoipa = { version = "4.2.0", features = ["debug", "actix_extras", "rocket_extras", "axum_extras", "chrono", "decimal", "decimal_float", "non_strict_integers", "yaml", "uuid", "ulid", "url", "time", "smallvec", "indexmap", "openapi_extensions", "repr", "preserve_path_order", "rc_schema", "auto_into_responses"] }
- default
-
See README.md for list and explanations of features
- debug
-
Enables debug of utoipa-gen
utoipa-gen:
See README.md for list and explanations of features
- actix_extras
-
Enables actix_extras of utoipa-gen
- rocket_extras
-
Enables rocket_extras of utoipa-gen
- axum_extras
-
Enables axum_extras of utoipa-gen
- chrono
-
Enables chrono of utoipa-gen
- decimal
-
Enables decimal of utoipa-gen
- decimal_float
-
Enables decimal_float of utoipa-gen
- non_strict_integers
-
Enables non_strict_integers of utoipa-gen
- yaml = serde_yaml
-
Enables yaml of utoipa-gen
- uuid
-
Enables uuid of utoipa-gen
- ulid
-
Enables ulid of utoipa-gen
- url
-
Enables url of utoipa-gen
- time
-
Enables time of utoipa-gen
- smallvec
-
Enables smallvec of utoipa-gen
- indexmap
-
Enables indexmap of utoipa-gen
- openapi_extensions
-
Affects
request_body::RequestBodyExt
,response::ResponseExt
… - repr
-
Enables repr of utoipa-gen
- preserve_order preserve_path_order
- rc_schema
-
Enables rc_schema of utoipa-gen
- auto_into_responses
-
EXPERIEMENTAL! use with cauntion
Enables auto_into_responses of utoipa-gen
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.