forked from termide/termide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
207 lines (188 loc) · 5.79 KB
/
Cargo.toml
File metadata and controls
207 lines (188 loc) · 5.79 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.16.3"
edition = "2021"
authors = ["Nick Nizovtsev"]
license = "MIT"
repository = "https://github.com/termide/termide"
[workspace.dependencies]
# Core dependencies
anyhow = "1.0"
crossterm = "0.28"
ratatui = "0.30.0"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"
dirs = "6.0"
ropey = "1.6"
arboard = "3.4"
unicode-segmentation = "1.11"
unicode-width = "0.2"
# Infra dependencies
tree-sitter = "0.24"
tree-sitter-highlight = "0.24"
lsp-types = "0.97"
regex = "1.12"
notify = { version = "6.1", default-features = false, features = ["macos_kqueue"] }
notify-debouncer-mini = "0.4"
ignore = "0.4"
sysinfo = "0.31"
chrono = { version = "0.4", features = ["serde"] }
portable-pty = "0.8"
vte = "0.13"
# Additional shared dependencies
base64 = "0.22"
tempfile = "3.12"
log = "0.4"
libc = "0.2"
glob = "0.3"
similar = "2.7"
serde_json = "1.0"
url = "2"
[package]
name = "termide"
version.workspace = true
edition.workspace = true
authors.workspace = true
description = "Cross-platform terminal IDE, file manager and virtual terminal"
publish = false
repository = "https://github.com/termide/termide"
license = "MIT"
keywords = ["terminal", "ide", "file-manager", "tui", "terminal-ui"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
exclude = [
".github/",
"assets/screenshots/",
"doc/",
".gitignore",
".pre-commit-config.yaml",
"flake.nix",
"flake.lock"
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.deb]
maintainer = "Nick Nizovtsev <nizovtsevnv@gmail.com>"
copyright = "2025, Nick Nizovtsev <nizovtsevnv@gmail.com>"
license-file = ["LICENSE", "4"]
extended-description = """\
TermIDE is a cross-platform terminal-based IDE, file manager, and virtual terminal \
written in Rust. It features syntax highlighting for 21 languages, Git integration, \
multi-panel accordion layout with smart stacking, and an integrated virtual terminal \
with full PTY support."""
depends = "$auto"
section = "utils"
priority = "optional"
assets = [
["target/release/termide", "usr/bin/", "755"],
["README.md", "usr/share/doc/termide/", "644"],
["LICENSE", "usr/share/doc/termide/", "644"],
]
[package.metadata.generate-rpm]
name = "termide"
license = "MIT"
summary = "Cross-platform terminal IDE, file manager and virtual terminal"
assets = [
{ source = "README.md", dest = "/usr/share/doc/termide/README.md", mode = "644", doc = true },
{ source = "LICENSE", dest = "/usr/share/doc/termide/LICENSE", mode = "644", doc = true },
]
auto-req = "no"
[package.metadata.generate-rpm.requires]
[dependencies]
anyhow = "1.0"
arboard = "3.4"
base64.workspace = true
chrono = "0.4"
clap = { version = "4", features = ["derive"] }
crossterm = "0.28"
dirs = "6.0"
notify = { version = "6.1", default-features = false, features = ["macos_kqueue"] }
notify-debouncer-mini = "0.4"
portable-pty = "0.8"
ratatui = "0.30.0"
ropey = "1.6"
serde = { version = "1.0", features = ["derive"] }
sysinfo = "0.31"
toml = "0.8"
unicode-segmentation = "1.11"
unicode-width = "0.2.0"
vte = "0.13"
# Tree-sitter syntax highlight
tree-sitter = "0.24"
tree-sitter-highlight = "0.24"
# Grammar parsers (statically linked)
# Programming languages
tree-sitter-rust = "0.23"
tree-sitter-python = "0.23"
tree-sitter-go = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
tree-sitter-c = "0.23"
tree-sitter-cpp = "0.23"
tree-sitter-java = "0.23"
tree-sitter-ruby = "0.23"
tree-sitter-php = "0.24"
tree-sitter-haskell = "0.23"
tree-sitter-nix = "0.3"
# Web technologies
tree-sitter-html = "0.23"
tree-sitter-css = "0.23"
tree-sitter-json = "0.23"
# Configuration formats
tree-sitter-toml-ng = "0.7"
tree-sitter-yaml = "0.7"
tree-sitter-bash = "0.23"
tree-sitter-md = "0.3"
regex = "1.12.2"
similar = "2.7.0"
# Workspace crates
termide-buffer = { path = "crates/buffer" }
termide-clipboard = { path = "crates/clipboard" }
termide-config = { path = "crates/config" }
termide-core = { path = "crates/core" }
termide-git = { path = "crates/git" }
termide-highlight = { path = "crates/highlight" }
termide-i18n = { path = "crates/i18n" }
termide-keyboard = { path = "crates/keyboard" }
termide-layout = { path = "crates/layout" }
termide-logger = { path = "crates/logger" }
termide-modal = { path = "crates/modal" }
termide-panel-editor = { path = "crates/panel-editor" }
termide-panel-file-manager = { path = "crates/panel-file-manager" }
termide-panel-misc = { path = "crates/panel-misc" }
termide-panel-terminal = { path = "crates/panel-terminal" }
termide-panel-image = { path = "crates/panel-image" }
termide-panel-git-status = { path = "crates/panel-git-status" }
termide-panel-git-log = { path = "crates/panel-git-log" }
termide-session = { path = "crates/session" }
termide-state = { path = "crates/state" }
termide-system-monitor = { path = "crates/system-monitor" }
termide-theme = { path = "crates/theme" }
termide-ui = { path = "crates/ui" }
termide-ui-render = { path = "crates/ui-render" }
termide-watcher = { path = "crates/watcher" }
termide-app-core = { path = "crates/app-core" }
termide-app-event = { path = "crates/app-event" }
termide-app-modal = { path = "crates/app-modal" }
termide-app-panel = { path = "crates/app-panel" }
termide-app-watcher = { path = "crates/app-watcher" }
termide-app-session = { path = "crates/app-session" }
termide-app = { path = "crates/app" }
[features]
vendored-openssl = ["termide-app/vendored-openssl"]
[build-dependencies]
cc = "1.0"
[dev-dependencies]
tempfile = "3.12"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
nix = { version = "0.29", features = ["signal", "process"] }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_System_SystemInformation"] }
[profile.release]
lto = true
codegen-units = 1
strip = true