-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (83 loc) · 2.61 KB
/
Copy pathCargo.toml
File metadata and controls
91 lines (83 loc) · 2.61 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
[package]
name = "hcom"
version = "0.7.23"
edition = "2024"
authors = ["hcom"]
description = "Connect Claude Code, Gemini CLI, Codex, OpenCode, Kilo Code, Pi, Oh My Pi, Antigravity, Cursor, Kimi, and Copilot so agents can message, watch, and spawn each other across terminals"
license = "MIT"
homepage = "https://github.com/aannoo/hcom"
repository = "https://github.com/aannoo/hcom"
rust-version = "1.88"
[[bin]]
name = "hcom"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
vt100 = "0.16"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
rusqlite = { version = "0.39.0", features = ["bundled"] }
regex = "1"
thiserror = "2"
# Client mode dependencies
dirs = "6.0.0"
chrono = "0.4"
# TUI dependencies
ratatui = { version = "0.30", features = ["scrolling-regions"] }
crossterm = "0.29"
unicode-width = "0.2"
unicode-segmentation = "1.13.2"
shell-words = "1"
toml = "1.1.2"
toml_edit = "0.25.10"
tempfile = "3"
rand = "0.10.0"
glob = "0.3"
uuid = { version = "1.23.0", features = ["v4"] }
# Relay (MQTT) dependencies
rumqttc = { version = "0.25.1", default-features = false, features = ["use-rustls"] }
base64 = "0.22"
sha2 = "0.11.0"
chacha20poly1305 = "0.10"
bytes = "1"
rustls = "0.23.37"
webpki-roots = "1.0.6"
rustls-native-certs = "0.8.3"
lru = "0.16"
# Unix-only: PTY, signals, fd polling, file locks, process groups.
[target.'cfg(unix)'.dependencies]
nix = { version = "0.31.2", features = ["term", "signal", "poll", "process", "fs", "ioctl"] }
libc = "0.2.184"
signal-hook = "0.4.4"
# Windows-only: process/job-object control, winsock select, file locking.
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.60", features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_System_JobObjects",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_IO",
"Win32_System_Console",
"Win32_Storage_FileSystem",
"Win32_Networking_WinSock",
] }
# ConPTY-backed pseudoterminal for the Windows PTY wrapper.
portable-pty = "0.9"
[dev-dependencies]
serial_test = "3"
# vt100 0.16.2 panics when a downward resize orphans a double-width character's
# "wide" flag and it's later erased (index out of bounds in Row::clear_wide).
# Pinned to the fix from the still-open upstream PR until a release ships it:
# https://github.com/doy/vt100-rust/issues/28
# https://github.com/doy/vt100-rust/pull/30
[patch.crates-io]
vt100 = { git = "https://github.com/Junyi-99/vt100-rust", rev = "131a75e72d9da43d503772578dc1f1c332befbba" }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.dist]
inherits = "release"