Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (64 loc) · 1.82 KB
/
Copy pathCargo.toml
File metadata and controls
79 lines (64 loc) · 1.82 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
[workspace]
members = [".", "crates/term_gpu", "crates/term_core", "crates/term_layout", "crates/term_clipboard", "crates/term_ui", "crates/uikit"]
[workspace.lints.rust]
dead_code = "deny"
unused_imports = "deny"
unreachable_code = "deny"
[package]
name = "anyclaude"
version = "0.5.0"
edition = "2021"
[features]
default = []
[lints]
workspace = true
[dependencies]
# PTY (spawned by the GPU UI's ChildPty).
portable-pty = "0.9"
# GPU UI stack.
term_gpu = { path = "crates/term_gpu" }
term_core = { path = "crates/term_core" }
term_clipboard = { path = "crates/term_clipboard" }
# Reusable widget kit (term_ui-based chrome bars); fed by ui::chrome_labels.
uikit = { path = "crates/uikit" }
# Retained+reactive engine the chrome_preview example assembles views with.
term_ui = { path = "crates/term_ui" }
winit = "0.30"
# Scroll plumbing: glam::Vec2 backs ScrollVelocity, futures + futures-timer
# drive the momentum tick loop without polling.
glam = "0.30"
futures = "0.3"
futures-timer = "3"
# Async runtime
tokio = { version = "1", features = ["macros", "rt-multi-thread", "io-util", "signal", "time", "sync"] }
uuid = { version = "1.23", features = ["v4"] }
# HTTP Proxy
axum = { version = "0.8", features = ["json"] }
http-body-util = "0.1"
reqwest = { version = "0.13", default-features = false, features = ["json", "stream", "rustls", "http2", "gzip", "brotli", "deflate"] }
tower = "0.5"
futures-core = "0.3"
# CLI
clap = { version = "4", features = ["derive"] }
# Config
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "1.1"
dirs = "6.0"
thiserror = "2.0"
fs2 = "0.4"
# Concurrency
parking_lot = "0.12"
# Utilities
scopeguard = "1.2"
libc = "0.2"
# Error handling
anyhow = "1.0.102"
# Temporary files
tempfile = "3.27"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"