-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (64 loc) · 1.91 KB
/
Cargo.toml
File metadata and controls
80 lines (64 loc) · 1.91 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
[package]
name = "aivo"
version = "0.19.2"
edition = "2024"
authors = ["yuanchuan"]
description = "A lightweight CLI for managing API keys and running Claude Code, Codex, and Gemini CLI across providers"
license = "MIT"
repository = "https://github.com/yuanchuan/aivo"
[lib]
doctest = false
[dependencies]
# CLI
clap = { version = "4.5", features = ["derive"] }
console = "0.15"
crossterm = "0.28"
ratatui = { version = "0.29", default-features = false, features = ["crossterm", "unstable-rendered-line-info"] }
# HTTP
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
tokio = { version = "1.43", features = ["rt", "macros", "process", "signal", "time", "fs", "net", "sync", "io-std", "io-util"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
pulldown-cmark = { version = "0.12", default-features = false }
rusqlite = { version = "0.32", features = ["bundled"] }
# Encryption
aes = "0.8"
aes-gcm = "0.10"
pbkdf2 = "0.12"
sha2 = "0.10"
hmac = "0.12"
rand = "0.8"
base64 = "0.22"
zeroize = { version = "1.8", features = ["derive"] }
# Utils
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
anyhow = "1.0"
unicode-width = "0.2"
tempfile = "3.0"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_IO", "Win32_System_Threading"] }
[features]
default = []
test-fast-crypto = []
[dev-dependencies]
http = "1"
tempfile = "3.0"
[profile.dev]
debug = "line-tables-only"
incremental = true
[profile.dev.package."*"]
debug = false
[profile.test]
debug = "line-tables-only"
incremental = true
[profile.test.package."*"]
debug = false
[profile.release]
opt-level = "z" # Optimize for size (most aggressive)
lto = true
strip = true
codegen-units = 1
panic = "abort" # Remove unwinding code