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