Cargo Features

[dependencies]
utoipa = { version = "5.2.0", default-features = false, 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_order", "preserve_path_order", "rc_schema", "macros", "config", "auto_into_responses"] }
default = macros

See README.md for list and explanations of features

debug

Enables debug of optional utoipa-gen

utoipa-gen:

See README.md for list and explanations of features

actix_extras

Enables actix_extras of optional utoipa-gen

rocket_extras

Enables rocket_extras of optional utoipa-gen

axum_extras

Enables axum_extras of optional utoipa-gen

chrono

Enables chrono of optional utoipa-gen

decimal

Enables decimal of optional utoipa-gen

decimal_float

Enables decimal_float of optional utoipa-gen

non_strict_integers

Enables non_strict_integers of optional utoipa-gen

yaml = serde_yaml

Enables yaml of optional utoipa-gen

uuid

Enables uuid of optional utoipa-gen

ulid

Enables ulid of optional utoipa-gen

url

Enables url of optional utoipa-gen

time

Enables time of optional utoipa-gen

smallvec

Enables smallvec of optional utoipa-gen

indexmap

Enables indexmap of optional utoipa-gen

openapi_extensions

Affects request_body::RequestBodyExt, response::ResponseExt

repr

Enables repr of optional utoipa-gen

preserve_order
preserve_path_order

Affects path::PathsMap

rc_schema

Enables rc_schema of optional utoipa-gen

macros default

Enables utoipa-gen

config

Enables config of optional utoipa-gen

auto_into_responses

EXPERIEMENTAL! use with cauntion

Enables auto_into_responses of optional 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.

serde_yaml yaml?