Cargo Features
utoipa-gen has no features set by default.
[dependencies]
utoipa-gen = { version = "4.1.0", features = ["debug", "actix_extras", "decimal_float", "rocket_extras", "non_strict_integers", "uuid", "ulid", "url", "axum_extras", "rc_schema", "auto_into_responses"] }
- debug
-
See README.md for list and explanations of features
Enables extra-traits of syn
- actix_extras = regex
-
Enables extra-traits of syn
Affects
ext::actix
,ext::ValueArgument.argument_in
,ext::ArgumentIn
,ext::fn_arg
… - chrono yaml decimal decimal_float
- rocket_extras = regex
-
Enables extra-traits of syn
Affects
ext::rocket
,ext::ValueArgument.argument_in
,ext::ArgumentIn
,ext::fn_arg
… - non_strict_integers
- uuid
- ulid
- url
- axum_extras = regex
-
Enables extra-traits of syn
Affects
ext::axum
,ext::ValueArgument.argument_in
,ext::ArgumentIn
,ext::fn_arg
… - time smallvec repr indexmap rc_schema
- 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.
- regex actix_extras? axum_extras? rocket_extras?
-
With default features