-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
120 lines (101 loc) · 2.46 KB
/
Copy pathCargo.toml
File metadata and controls
120 lines (101 loc) · 2.46 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.1.3"
edition = "2024"
[workspace.dependencies]
# Core terminal
vte = "0.15"
alacritty_terminal = "0.25"
portable-pty = "0.9"
termwiz = "0.22"
# Rendering
wgpu = "26"
vello = "0.6"
glyphon = "0.9"
fontdue = "0.9"
swash = "0.1"
fontdb = "0.22"
bytemuck = { version = "1.14", features = ["derive"] }
# Windowing
winit = "0.30"
# Theme parsing
cssparser = "0.34"
lightningcss = "1.0.0-alpha.68"
# Configuration
toml = "0.8"
toml_edit = "0.20"
serde = { version = "1.0", features = ["derive"] }
# Image loading
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif"] }
# Utilities
pollster = "0.4"
log = "0.4"
env_logger = "0.11"
anyhow = "1.0"
naga = { version = "26", features = ["wgsl-out", "wgsl-in"] }
notify = "7.0"
muda = "0.15"
dirs = "5.0"
# Main binary package
[package]
name = "crt"
version = "0.1.3"
edition = "2024"
description = "GPU-accelerated terminal emulator with synthwave aesthetics"
license = "MIT OR Apache-2.0"
keywords = ["terminal", "emulator", "gpu", "wgpu"]
categories = ["command-line-utilities"]
[[bin]]
name = "crt"
path = "src/main.rs"
[dependencies]
wgpu = { workspace = true }
winit = { workspace = true }
vello = { workspace = true }
pollster = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
crt-core = { path = "crates/crt-core" }
crt-renderer = { path = "crates/crt-renderer" }
crt-theme = { path = "crates/crt-theme" }
anyhow = { workspace = true }
notify = { workspace = true }
muda = { workspace = true }
dirs = { workspace = true }
toml = { workspace = true }
toml_edit = { workspace = true }
serde = { workspace = true }
arboard = "3.6.1"
clipboard-files = "0.1"
image = { workspace = true }
regex = "1.12.2"
open = "5.3.3"
fontdb = { workspace = true }
termwiz = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5"
objc2-foundation = "0.2"
objc2-app-kit = "0.2"
[dev-dependencies]
criterion = { version = "0.7.0", features = ["html_reports"] }
tempfile = "3.23.0"
[features]
dhat-heap = ["dep:dhat"]
[dependencies.dhat]
version = "0.3"
optional = true
# Benchmark binaries (run with: cargo run --release --bin benchmark)
[[bin]]
name = "benchmark"
path = "src/bin/benchmark.rs"
[[bin]]
name = "benchmark_gpu"
path = "src/bin/benchmark_gpu.rs"
[[bin]]
name = "profile_memory"
path = "src/bin/profile_memory.rs"
[[bin]]
name = "profile_gpu_memory"
path = "src/bin/profile_gpu_memory.rs"