-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (76 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
98 lines (76 loc) · 2.03 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
[package]
name = "tests"
version = "0.0.2"
edition = "2021"
publish = false
description = "Integration tests for McpMux"
[dependencies]
# Internal crates
mcpmux-core = { path = "../../crates/mcpmux-core" }
mcpmux-gateway = { path = "../../crates/mcpmux-gateway" }
mcpmux-storage = { path = "../../crates/mcpmux-storage" }
mcpmux-mcp = { path = "../../crates/mcpmux-mcp" }
# Async runtime
tokio = { version = "1.42", features = ["full", "test-util", "macros"] }
async-trait = "0.1"
futures = "0.3"
# Test utilities
tempfile = "3.14"
pretty_assertions = "1"
# Serialization (for test fixtures)
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# UUID for test data
uuid = { version = "1.11", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
# Hex encoding for crypto tests
hex = "0.4"
# Dashmap for concurrent collections
dashmap = "6.1"
# Tracing for test output
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# HTTP mocking for OAuth tests
wiremock = "0.6"
reqwest = { version = "0.13", features = ["json"] }
# URL parsing for OAuth tests
url = "2.5"
# PKCE + JWT-secret material for the inbound-OAuth end-to-end test
base64 = "0.22"
sha2 = "0.10"
zeroize = "1.8"
# Sync primitives for tests
parking_lot = "0.12"
# RMCP for streamable HTTP transport tests
rmcp = { version = "1.5", features = [
"client",
"server",
"transport-streamable-http-server",
"transport-streamable-http-client-reqwest",
] }
tokio-util = { version = "0.7", features = ["rt"] }
axum = "0.8"
# Pipe creation for stderr capture tests
os_pipe = { workspace = true }
# Error types for mocks
anyhow = "1"
[lib]
path = "src/lib.rs"
[[test]]
name = "database"
path = "tests/database/mod.rs"
[[test]]
name = "security"
path = "tests/security/mod.rs"
[[test]]
name = "gateway"
path = "tests/gateway/mod.rs"
[[test]]
name = "oauth"
path = "tests/oauth/mod.rs"
[[test]]
name = "integration"
path = "tests/integration/mod.rs"
[[test]]
name = "streamable_http"
path = "tests/streamable_http/mod.rs"