-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
115 lines (97 loc) · 2.48 KB
/
Cargo.toml
File metadata and controls
115 lines (97 loc) · 2.48 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
[package]
name = "agcp"
version = "1.3.1"
edition = "2024"
rust-version = "1.93"
description = "Lightweight Rust proxy translating Anthropic Claude API to Google Cloud Code API"
authors = ["Ö. Efe D. <skyline@noreply.codeberg.org>"]
license = "MIT"
repository = "https://github.com/skyline69/agcp"
homepage = "https://github.com/skyline69/agcp"
readme = "README.md"
keywords = ["anthropic", "claude", "gemini", "proxy", "api"]
categories = ["command-line-utilities", "development-tools", "web-programming"]
publish = true
[dependencies]
# HTTP server + client
hyper = { version = "1.8", features = ["http1", "http2", "server", "client"] }
hyper-util = { version = "0.1", default-features = false, features = [
"client",
"client-legacy",
"http1",
"http2",
"tokio",
] }
hyper-rustls = { version = "0.27", default-features = false, features = [
"http1",
"http2",
"ring",
"webpki-roots",
] }
rustls = { version = "0.23", default-features = false, features = [
"ring",
"std",
] }
http-body-util = "0.1"
# Async runtime (minimal features)
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread",
"macros",
"net",
"fs",
"io-util",
"sync",
"signal",
"time",
] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1.0"
# Crypto (PKCE, session ID)
sha2 = "0.10"
base64 = "0.22"
getrandom = "0.4"
# UUID generation
uuid = { version = "1", features = ["v4"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
"ansi",
] }
# Error handling
thiserror = "2.0"
# Non-poisoning synchronization primitives
parking_lot = "0.12"
# Interactive CLI prompts
dialoguer = "0.12"
# Platform directories
dirs = "6"
# Clipboard support
arboard = "3.6"
# Regex (lightweight)
regex-lite = "0.1"
# Date/time parsing
chrono = { version = "0.4", default-features = false, features = [
"std",
"clock",
] }
# File locking (cross-platform)
fs2 = "0.4"
# Terminal UI
ratatui = { version = "0.30", default-features = false, features = ["crossterm"] }
crossterm = "0.29"
tachyonfx = "0.25"
# Unix process management (daemon mode)
[target.'cfg(unix)'.dependencies]
libc = "0.2"
# Windows process management (stop/restart commands)
[target.'cfg(windows)'.dependencies]
sysinfo = { version = "0.38", default-features = false, features = ["system"] }
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"