-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (48 loc) · 1.47 KB
/
Cargo.toml
File metadata and controls
64 lines (48 loc) · 1.47 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
[package]
name = "tabra"
version = "0.1.0"
edition = "2021"
description = "IDE-style terminal autocomplete. Tab. Complete. Ship."
license = "Apache-2.0"
repository = "https://github.com/atoolz/tabra"
keywords = ["autocomplete", "terminal", "cli", "completions", "shell"]
categories = ["command-line-utilities"]
[dependencies]
# Terminal manipulation, raw mode, cursor control, ANSI rendering
crossterm = "0.28"
# Fuzzy matching (same engine as Helix editor)
nucleo = "0.5"
# JSON parsing for withfig/autocomplete specs
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Async runtime for daemon IPC (Unix socket server)
tokio = { version = "1", features = ["full"] }
# CLI argument parsing
clap = { version = "4", features = ["derive"] }
# Error handling
anyhow = "1"
thiserror = "2"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Directory paths (XDG spec dirs for config/data/cache)
dirs = "6"
# libc for getuid
libc = "0.2"
# File watching for spec hot-reload
notify = "7"
# PTY management (openpty, cfmakeraw, tcsetattr, TIOCSWINSZ)
nix = { version = "0.29", features = ["term", "ioctl", "process", "signal", "fs"] }
# Base64 encoding for OSC payloads
base64 = "0.22"
# Panic-safe cleanup (restore terminal raw mode)
scopeguard = "1"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "completion"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true