feat: 实现 PDF 文档阅读功能

- 实现 DocumentEngine,支持 PDF/EPUB/MOBI/TXT/Markdown/代码文件格式
- 添加文档格式自动检测功能
- 实现文档渲染为 HTML
- 实现全文搜索功能
- 添加 CLI/TUI 用户界面
- 修复 tracing-subscriber feature 依赖问题
This commit is contained in:
大麦
2026-03-09 07:55:09 +08:00
parent 28be3b8509
commit 00fa25aeeb
5 changed files with 665 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ serde_json = "1.0"
config = "0.14"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# 工具
rayon = "1.8" # 并行计算