perf(qrcode): 关闭默认 features,移除 image 依赖链
qrcode 默认启用了 image/svg/pic,但项目只使用 Unicode 终端渲染, 不需要图片编解码。关闭后移除 image 及其子依赖。
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ tracing = "0.1" # 结构化日志
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] } # 日志输出
|
||||
tracing-appender = "0.2.5" # 文件日志(日滚)
|
||||
# ── 二维码 ──
|
||||
qrcode = "0.14" # 二维码生成
|
||||
qrcode = { version = "0.14", default-features = false } # 二维码生成(仅 Unicode 终端渲染)
|
||||
# ── 异步 trait ──
|
||||
async-trait = "0.1" # 异步 trait 支持
|
||||
# ── 流式处理 ──
|
||||
|
||||
Reference in New Issue
Block a user