Cargo Features

oasgen has no features set by default.

[dependencies]
oasgen = { version = "0.22.0", features = ["actix", "axum", "time", "chrono", "uuid", "sqlx", "swagger-ui", "json", "cookies", "phonenumber", "sid", "serde_qs", "bigdecimal"] }
actix = actix-web

Enables actix of oasgen-core

axum

Enables axum, axum of oasgen-core

time

Enables time of oasgen-core

chrono

Enables chrono of oasgen-core

uuid

Enables uuid of oasgen-core

sqlx

Enables sqlx of oasgen-core

swagger-ui = swagger-ui2

Affects server::Server.swagger_ui_route, server::Server.swagger_ui

json

Enables json of oasgen-core

cookies = tower-cookies

Enables cookies of oasgen-core

phonenumber

Enables phonenumber of oasgen-core

sid

Enables sid of oasgen-core

serde_qs

Enables qs of oasgen-core

bigdecimal

Enables bigdecimal of oasgen-core

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.

actix-web actix?
swagger-ui2 swagger-ui?
tower-cookies cookies?