-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
132 lines (103 loc) · 2.94 KB
/
Cargo.toml
File metadata and controls
132 lines (103 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
edition = "2024"
license = "AGPL-3.0-only OR LicenseRef-Commercial"
authors = ["AprilNEA <dev@aprilnea.me>"]
repository = "https://github.com/AprilNEA/ChatGPUI"
[package]
name = "chatgpui"
description = "A GPU-accelerated native LLM chat client built with GPUI"
version = "0.1.0-alpha.1"
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
[[bin]]
name = "ChatGPUI"
path = "src/main.rs"
[features]
default = ["sentry", "postgres"]
sentry = ["dep:sentry"]
postgres = [
"sea-orm/sqlx-postgres",
"migration/sqlx-postgres",
"dep:postgresql_embedded",
]
[dependencies]
# Workspace crates
entity = { path = "crates/entity" }
migration = { path = "crates/migration" }
gpui = { git = "https://github.com/zed-industries/zed" }
gpui-component = { git = "https://github.com/longbridge/gpui-component", rev = "8671be20052e30a92ad555bbe384eabb32446549" }
gpui-tokio-bridge = "0.1.0"
core-text = "=21.0.0"
# Assets embedding
rust-embed = "8"
# HTTP client
reqwest = { version = "0.12", features = ["json", "stream"] }
# File dialog
rfd = "0.15"
# Base64 encoding
base64 = "0.22"
# Async
tokio = { version = "1", features = ["full"] }
futures = "0.3"
async-channel = "2.3"
async-trait = "0.1"
# JSON
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error handling
anyhow = "1.0"
sentry = { version = "0.46.1", optional = true }
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
# Build info
shadow-rs = { version = "0.37", default-features = false }
# UUID for message IDs
uuid = { version = "1.0", features = ["v4", "v7"] }
# Time
chrono = "0.4"
# i18n
rust-i18n = "3"
# Enum utilities
strum = { version = "0.26", features = ["derive"] }
# Database
postgresql_embedded = { version = "0.20", features = [
"bundled",
], optional = true }
sea-orm = { version = "1.1", features = ["runtime-tokio-rustls", "macros"] }
sea-orm-migration = { version = "1.1", features = ["runtime-tokio-rustls"] }
# Random password generation
rand = "0.9"
# Config directory
dirs = "5"
# Unix process management
[target.'cfg(unix)'.dependencies]
libc = "0.2"
# macOS dock icon
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.26"
[package.metadata.bundle]
name = "ChatGPUI"
identifier = "com.aprilnea.chatgpui"
icon = ["bundle/AppIcon.icns"]
copyright = "Copyright © 2026 AprilNEA LLC. All rights reserved."
category = "public.app-category.developer-tools"
osx_minimum_system_version = "12.0"
short_description = "A GPU-accelerated native LLM chat client built with GPUI"
[package.metadata.winres]
OriginalFilename = "chatgpui.exe"
LegalCopyright = "Copyright © 2026 AprilNEA LLC. All rights reserved."
[package.metadata.appimage]
icon = "bundle/chatgpui.png"
assets = ["assets/chatgpui.desktop"]
[build-dependencies]
shadow-rs = "0.37"
cargo_metadata = "0.19"
ureq = "2"
[patch.crates-io]
gpui = { git = "https://github.com/zed-industries/zed" }