返回 DeepSeek-TUI-2026
Cargo.toml
根目录 / crates / tui / Cargo.toml
1 [package]
2 name = "deepseek-tui"
3 version.workspace = true
4 edition.workspace = true
5 license.workspace = true
6 repository.workspace = true
7 description = "Terminal UI for DeepSeek"
8 default-run = "deepseek-tui"
9
10 [features]
11 default = ["tui", "json", "toml"]
12 tui = ["dep:schemaui", "schemaui/tui", "json", "toml"]
13 web = ["dep:schemaui", "schemaui/web", "json", "toml"]
14 json = ["schemaui/json"]
15 toml = ["schemaui/toml"]
16
17 [[bin]]
18 name = "deepseek-tui"
19 path = "src/main.rs"
20
21 [dependencies]
22 anyhow = "1.0.100"
23 arboard = "3.4"
24 deepseek-secrets = { path = "../secrets", version = "0.8.15" }
25 deepseek-tools = { path = "../tools", version = "0.8.15" }
26 schemaui = { version = "0.12.0", default-features = false, optional = true }
27 async-stream = "0.3.6"
28 async-trait = "0.1"
29 base64 = "0.22.1"
30 axum = { version = "0.8.4", features = ["json"] }
31 clap = { version = "4.5.54", features = ["derive"] }
32 clap_complete = "4.5"
33 colored = "3.0.0"
34 crossterm = "0.28"
35 dotenvy = "0.15.7"
36 dirs = "6.0.0"
37 fd-lock = "4.0.4"
38 futures-util = "0.3.31"
39 ratatui = "0.29"
40 regex = "1.11"
41 reqwest = { version = "0.13.1", default-features = false, features = ["blocking", "json", "stream", "multipart", "rustls", "http2"] }
42 similar = "2"
43 rustyline = "15.0.0"
44 serde = { version = "1.0.228", features = ["derive"] }
45 serde_json = { version = "1.0.149", features = ["preserve_order"] }
46 schemars = { version = "1.2.1", features = ["derive", "preserve_order"] }
47 shellexpand = "3"
48 toml = "0.9.7"
49 tokio = { version = "1.49.0", features = ["full"] }
50 tokio-util = { version = "0.7.16", features = ["io"] }
51 unicode-width = "0.2"
52 unicode-segmentation = "1.12"
53 uuid = { version = "1.11", features = ["v4"] }
54 chrono = { version = "0.4", features = ["serde"] }
55 tempfile = "3.16"
56 thiserror = "2.0"
57 tracing = "0.1"
58 tower-http = { version = "0.6", features = ["cors"] }
59 wait-timeout = "0.2"
60 multimap = "0.10.0"
61 shlex = "1.3.0"
62 starlark = "0.13.0"
63 tiny_http = "0.12"
64 portable-pty = "0.8"
65 zeroize = "1.8.2"
66 ignore = "0.4"
67 image = { version = "0.25", default-features = false, features = ["png"] }
68 pdf-extract = "0.7"
69 tar = "0.4"
70 flate2 = "1.1"
71 sha2 = "0.10"
72
73 [dev-dependencies]
74 wiremock = "0.6"
75 pretty_assertions = "1.4"
76
77 [target.'cfg(target_os = "macos")'.dependencies]
78 libc = "0.2"
79
80 [target.'cfg(target_os = "linux")'.dependencies]
81 libc = "0.2"
82
83 [target.'cfg(target_os = "windows")'.dependencies]
84 windows = { version = "0.60", features = ["Win32_Foundation", "Win32_System_Console", "Win32_UI_WindowsAndMessaging", "Win32_System_Diagnostics_Debug"] }
85
85 lines TOML