Skip to content

Commit d885e2d

Browse files
committed
Refactor Rust A2A service into gateway_rs crate
Reorganize and modernize the Rust A2A service: move mcpgateway_rust into crates/gateway_rs/services/a2a_service, add a new lib.rs PyO3 extension and queue.rs, and update Cargo.toml workspace membership and dependencies. Refactor invoker to accept indexed batch requests and return indexed results (preserving ordering), add A2AInvokeRequest/A2AInvokeResult types, and update unit tests to the new API. Update packaging metadata (pyproject) to expose gateway_rs.a2a_service, add Makefile targets for building/installing/testing gateway Rust crates, and remove legacy mcpgateway_rust artifacts and differential benchmark files. Signed-off-by: Luca <lucarlig@protonmail.com>
1 parent 2905404 commit d885e2d

File tree

36 files changed

+2132
-4967
lines changed

36 files changed

+2132
-4967
lines changed

Cargo.lock

Lines changed: 143 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
resolver = "3"
33
members = [
4-
"crates/mcpgateway/*",
4+
"crates/gateway_rs/services/*",
55
"crates/tools/*",
66
"crates/mcp-servers/*",
77
"crates/plugins/*",
@@ -33,6 +33,15 @@ tokio = { version = "1.49", features = ["full"] }
3333
serde = { version = "1.0", features = ["derive"] }
3434
serde_json = "1.0"
3535

36+
# Error handling
37+
thiserror = "2.0"
38+
39+
# Concurrent collections
40+
dashmap = "6.1"
41+
42+
# URL parsing (for A2A auth query params)
43+
url = "2.5"
44+
3645
[profile.release]
3746
opt-level = 3
3847
lto = "fat"

0 commit comments

Comments
 (0)