perf(qrcode): 关闭默认 features,移除 image 依赖链

qrcode 默认启用了 image/svg/pic,但项目只使用 Unicode 终端渲染,
不需要图片编解码。关闭后移除 image 及其子依赖。
This commit is contained in:
2026-06-17 16:04:17 +08:00
parent 775e619208
commit 2b86552d3e
2 changed files with 1 additions and 44 deletions
+1 -1
View File
@@ -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 支持
# ── 流式处理 ──