-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (49 loc) · 1.88 KB
/
Cargo.toml
File metadata and controls
58 lines (49 loc) · 1.88 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
[package]
name = "a3s-ahp"
version = "2.3.0"
edition = "2021"
authors = ["A3S Lab Team"]
license = "MIT"
repository = "https://github.com/A3S-Lab/AgentHarnessProtocol"
description = "Agent Harness Protocol v2.3 — Universal, transport-agnostic protocol for supervising autonomous AI agents"
[lib]
name = "a3s_ahp"
path = "src/lib.rs"
[features]
default = ["stdio"]
stdio = []
http = ["reqwest", "axum", "tower", "tower-http"]
websocket = ["tokio-tungstenite", "futures-util"]
grpc = ["tonic", "prost", "prost-types"]
unix-socket = ["tokio/net"]
all-transports = ["stdio", "http", "websocket", "grpc", "unix-socket"]
[dependencies]
# Core dependencies
async-trait = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.35", features = ["process", "io-util", "io-std", "sync", "time", "rt", "macros", "fs"] }
tracing = "0.1"
anyhow = "1.0"
thiserror = "2.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
# HTTP transport
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"], optional = true }
axum = { version = "0.7", optional = true }
tower = { version = "0.5", optional = true }
tower-http = { version = "0.6", features = ["trace", "cors"], optional = true }
# WebSocket transport
tokio-tungstenite = { version = "0.24", default-features = false, features = ["rustls-tls-native-roots", "connect"], optional = true }
futures-util = { version = "0.3", optional = true }
# gRPC transport
tonic = { version = "0.12", optional = true }
prost = { version = "0.13", optional = true }
prost-types = { version = "0.13", optional = true }
[dev-dependencies]
tokio = { version = "1.35", features = ["full"] }
tokio-test = "0.4"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1.0"
[build-dependencies]
tonic-build = { version = "0.12", optional = true }