## Phase 4 - 性能与生态 (续) ### Issue #14: 个性化主题商店 ✅ - ThemeManager 主题管理器 - 4 种内置主题 (深色/浅色/护眼/高对比度) - 主题安装/卸载功能 - 自定义主题配置 - CSS 变量系统 ### Issue #15: 跨平台打包发布 ✅ - build-release.sh 打包脚本 - 支持 macOS (DMG + App Bundle) - 支持 Linux (AppImage + tar.gz) - 支持 Windows (NSIS + ZIP) - Cargo 发布配置优化 (LTO, strip) - 自动生成 RELEASE.md ## 完成状态 ✅ Phase 2: 4/4 Issues ✅ Phase 3: 4/4 Issues ✅ Phase 4: 3/3 Issues 🎉 ReadFlow MVP 全部完成!
23 lines
911 B
Rust
23 lines
911 B
Rust
//! 核心服务模块
|
|
//!
|
|
//! 包含文档处理、翻译、书签、笔记、代码阅读、进度同步、插件、性能优化、主题等功能
|
|
|
|
pub mod document;
|
|
pub mod translation;
|
|
pub mod bookmark;
|
|
pub mod note;
|
|
pub mod code_reader;
|
|
pub mod progress;
|
|
pub mod plugin;
|
|
pub mod performance;
|
|
pub mod theme;
|
|
|
|
pub use document::DocumentEngine;
|
|
pub use translation::TranslationService;
|
|
pub use bookmark::{Bookmark, BookmarkManager, HighlightType};
|
|
pub use note::{Note, NoteManager, NoteType, ReadingSession, ReadingStats};
|
|
pub use code_reader::{CodeReader, CodeDocument, CodeLanguage};
|
|
pub use progress::{ReadingProgress, ProgressManager, SyncConfig, CloudSync};
|
|
pub use plugin::{PluginManager, Plugin, PluginManifest, PluginStatus, PluginInfo};
|
|
pub use performance::{PerformanceProfiler, PerformanceMetrics, CacheManager};
|
|
pub use theme::{ThemeManager, ThemeManifest, ThemeConfig, ThemeType, BuiltinThemes}; |