32 lines
1.0 KiB
TOML
32 lines
1.0 KiB
TOML
[package]
|
|
name = "fastapi"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = [
|
|
"donkey <anjingyu_ws@navinfo.com>"
|
|
]
|
|
|
|
[dependencies]
|
|
axum = { version = "0.6.12", features = ["headers", "http1", "json", "macros", "matched-path", "multipart", "tokio", "tower-log", "ws", "form", "query"] }
|
|
dotenvy = "0.15.7"
|
|
env_logger = "0.10.0"
|
|
futures = "0.3.28"
|
|
futures-util = "0.3.28"
|
|
log = "0.4.17"
|
|
reqwest = { version = "0.11.16", features = ["blocking", "json", "gzip", "deflate", "stream", "futures-channel"] }
|
|
serde = { version = "1.0.159", features = ["derive"] }
|
|
serde_json = "1.0.95"
|
|
tokio = { version = "1.27.0", features = ["full"] }
|
|
utoipa = { version = "3.4.4", features = ["axum_extras", "preserve_order"] }
|
|
utoipa-rapidoc = { version = "0.1.0", features = ["axum"] }
|
|
utoipa-redoc = { version = "0.1.0", features = ["axum"] }
|
|
utoipa-swagger-ui = { version = "3.1.5", features = ["axum"] }
|
|
uuid = { version = "1.3.1", features = ["serde", "v4"] }
|
|
websocket = "0.26.5"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
opt-level = "z" # Optimize for size
|
|
lto = true
|
|
codegen-units = 1
|