5651dbf732
- CLI: EcLevel::from_str 返回 QrError 而非 String, 修正 map_err 类型注解 - CLI: 密码环境变量 or_else 闭包 borrow 修复 (临时值生命周期) - Web: tower 添加 limit feature, ConcurrencyLimitLayer 替代不存在的 RateLimitLayer - Web: QrError 转为 .to_string() 适配 IntoResponse
16 lines
469 B
TOML
16 lines
469 B
TOML
[package]
|
|
name = "qrgen-web"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
|
|
[dependencies]
|
|
qr-core = { path = "../core" }
|
|
axum = { version = "0.8", features = ["multipart"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tower-http = { version = "0.6", features = ["cors", "limit", "set-header"] }
|
|
tower = { version = "0.5", features = ["limit"] }
|