-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (64 loc) · 2.41 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (64 loc) · 2.41 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
[package]
name = "apcore-a2a"
version = "0.7.0"
edition = "2021"
description = "A2A protocol adapter for apcore — expose apcore modules as A2A agents"
license = "Apache-2.0"
readme = "README.md"
authors = ["aiperceivable <tercel.yi@gmail.com>"]
homepage = "https://aiperceivable.com"
repository = "https://github.com/aiperceivable/apcore-a2a-rust"
documentation = "https://apcore.aiperceivable.com/"
keywords = ["ai", "a2a", "agent", "apcore", "protocol"]
categories = ["api-bindings", "asynchronous", "web-programming"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
# The OpenAPI backend fetches a spec over http(s) and registers every operation
# as an HTTP proxy, both of which live behind apcore-toolkit's own `http-proxy`
# feature. Opt-in, matching the Python package's `openapi` extra
# (`apcore-toolkit[http-proxy]`) rather than being on by default: an adapter
# serving an extensions directory should not carry a spec fetcher it never uses.
openapi = ["apcore-toolkit/http-proxy"]
[dependencies]
apcore = ">=0.30"
# `default-features = false` so `http-proxy` — a *default* feature of the
# toolkit — is reached through this crate's `openapi` feature instead of being
# enabled unconditionally. The unconditional import (`deep_resolve_refs`) is
# outside that feature.
apcore-toolkit = { version = ">=0.11.1", default-features = false }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
schemars = "0.8"
thiserror = "2"
async-trait = "0.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive", "env"] }
jsonwebtoken = "9"
axum = { version = "0.8", features = ["ws"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors"] }
hyper = { version = "1", features = ["full"] }
regex = "1"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
tokio-stream = "0.1"
reqwest = { version = "0.12", features = ["json", "stream"] }
futures-util = "0.3"
async-stream = "0.3"
[dev-dependencies]
tokio-test = "0.4"
tower = { version = "0.5", features = ["util"] }
tempfile = "3"
hyper-util = { version = "0.1", features = ["client-legacy", "http1", "tokio"] }
http-body-util = "0.1"
[[bin]]
name = "apcore-a2a"
path = "src/bin/apcore-a2a.rs"
[[example]]
name = "run"
path = "examples/run/main.rs"