Cargo Features
fastapi-gen has no features set by default.
[dependencies]
fastapi-gen = { version = "0.1.1", 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 fastapi-config and once_cell
- 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.