WIP: working on OpenAPI docs
This commit is contained in:
parent
b0fc0debc9
commit
cfbe772b33
7 changed files with 536 additions and 39 deletions
|
|
@ -17,9 +17,10 @@ name = "dynix"
|
|||
path = "src/lib.rs"
|
||||
|
||||
[features]
|
||||
default = ["regex-full"]
|
||||
default = ["regex-full", "vendored-swagger"]
|
||||
regex-full = ["dep:regex"]
|
||||
regex-lite = ["dep:regex-lite"]
|
||||
vendored-swagger = ["utoipa-swagger-ui/vendored"]
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.8.8", features = ["macros"] }
|
||||
|
|
@ -54,11 +55,12 @@ tracing-human-layer = "0.2.1"
|
|||
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["std", "env-filter", "fmt", "ansi", "registry", "parking_lot"] }
|
||||
utoipa = { version = "5.4.0", features = ["axum_extras", "config", "debug", "indexmap", "preserve_order", "preserve_path_order", "repr", "time", "url"] }
|
||||
utoipa-axum = { version = "0.2.0", features = ["debug"] }
|
||||
utoipa-swagger-ui = { version = "9.0.2", features = ["axum", "cache", "debug"] }
|
||||
which = "8.0.2"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
lto = "thin"
|
||||
#lto = "thin"
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue