Files
readflow/Cargo.toml
大麦 00fa25aeeb feat: 实现 PDF 文档阅读功能
- 实现 DocumentEngine,支持 PDF/EPUB/MOBI/TXT/Markdown/代码文件格式
- 添加文档格式自动检测功能
- 实现文档渲染为 HTML
- 实现全文搜索功能
- 添加 CLI/TUI 用户界面
- 修复 tracing-subscriber feature 依赖问题
2026-03-09 07:55:09 +08:00

53 lines
1.1 KiB
TOML

[package]
name = "readflow"
version = "0.1.0"
edition = "2021"
authors = ["damai <damai@foshanhuiya.com>"]
description = "ReadFlow - 面向开发者和知识工作者的阅读工具"
repository = "http://192.168.120.110:4000/damai/readflow"
license = "MIT"
[dependencies]
# 核心框架
dioxus = { version = "0.5", features = ["desktop"] }
dioxus-router = "0.5"
tauri = { version = "2", optional = true }
# 异步运行时
tokio = { version = "1", features = ["full"] }
# 文档处理
pdfium-render = "0.8"
epub = "2.0"
mobi = "0.2"
# Markdown 与代码高亮
pulldown-cmark = "0.9"
syntect = "5.1"
tree-sitter = { version = "0.20", optional = true }
# 数据存储
sled = "0.34"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 配置管理
config = "0.14"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# 工具
rayon = "1.8" # 并行计算
[features]
default = ["desktop"]
desktop = ["dioxus/desktop"]
tauri = ["dep:tauri"]
wasm = ["dioxus/web"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1