返回 DeepSeek-TUI-2026
Cargo.toml
根目录 / Cargo.toml
1 [workspace]
2 members = [
3 "crates/agent",
4 "crates/app-server",
5 "crates/cli",
6 "crates/config",
7 "crates/core",
8 "crates/execpolicy",
9 "crates/hooks",
10 "crates/mcp",
11 "crates/protocol",
12 "crates/secrets",
13 "crates/state",
14 "crates/tools",
15 "crates/tui",
16 "crates/tui-core",
17 ]
18 default-members = ["crates/cli", "crates/app-server", "crates/tui"]
19 resolver = "2"
20
21 [workspace.package]
22 version = "0.8.15"
23 edition = "2024"
24 # Rust 1.88 stabilized `let_chains` in `if`/`while` conditions, which the
25 # codebase relies on extensively. Cargo enforces this so users on older
26 # toolchains get a clear "package requires rustc 1.88+" error instead of a
27 # confusing E0658 from rustc.
28 rust-version = "1.88"
29 license = "MIT"
30 repository = "https://github.com/Hmbown/DeepSeek-TUI"
31
32 [workspace.dependencies]
33 anyhow = "1.0.100"
34 async-trait = "0.1.89"
35 axum = { version = "0.8.5", features = ["json"] }
36 chrono = { version = "0.4.43", features = ["serde"] }
37 clap = { version = "4.5.54", features = ["derive"] }
38 clap_complete = "4.5"
39 dirs = "6.0.0"
40 reqwest = { version = "0.13.1", default-features = false, features = ["json", "rustls"] }
41 rusqlite = { version = "0.32.1", features = ["bundled"] }
42 serde = { version = "1.0.228", features = ["derive"] }
43 serde_json = "1.0.149"
44 thiserror = "2.0"
45 tokio = { version = "1.49.0", features = ["full"] }
46 toml = "0.9.7"
47 sha2 = "0.10"
48 tower-http = { version = "0.6", features = ["cors"] }
49 tracing = "0.1"
50 uuid = { version = "1.11", features = ["v4"] }
51
51 lines TOML