Commit 67fc49a
committed
refactor(core): 下沉持久化至 core,统一 workspace 依赖,补全文档注释
- 新增 persist feature(默认关闭),含 key.rs / profile.rs
- Profile TOML 涵盖 host_port、inlet_port、last_ticket、relay 配置
- 首次加载时自动创建默认 profile.toml
- CLI 删除 key.rs / relay.rs / lib.rs / app.rs,合并入 main.rs
- TUI 删除 config.rs,state.rs 改用 sculk_core::persist::Profile
- 共享依赖提升至 workspace.dependencies
- 补全 core 各模块及 TUI state.rs 的文档注释1 parent 98d6819 commit 67fc49a
28 files changed
Lines changed: 831 additions & 664 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
0 commit comments