Cargo Features

utoipa-gen has no features set by default.

[dependencies]
utoipa-gen = { version = "5.2.0", features = ["debug", "actix_extras", "decimal_float", "rocket_extras", "non_strict_integers", "uuid", "ulid", "url", "axum_extras", "rc_schema", "config", "auto_into_responses"] }
debug

See README.md for list and explanations of features

Enables syn

actix_extras = regex

Enables syn

Affects ext::actix, ext::ValueArgument.argument_in, ext::ArgumentIn, ext::fn_arg

chrono yaml decimal decimal_float
rocket_extras = regex

Enables syn

Affects ext::rocket, ext::ValueArgument.argument_in, ext::ArgumentIn, ext::fn_arg

non_strict_integers
uuid

Enables uuid

ulid

Enables ulid

url

Enables url

axum_extras = regex

Enables syn

Affects ext::axum, ext::ValueArgument.argument_in, ext::ArgumentIn, ext::fn_arg

time smallvec repr indexmap rc_schema
config

Enables once_cell and utoipa-config

auto_into_responses

EXPERIEMENTAL! use with cauntion

Affects ext::auto_types

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.

regex actix_extras? axum_extras? rocket_extras?