-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathCargo.toml
More file actions
119 lines (100 loc) · 3.05 KB
/
Copy pathCargo.toml
File metadata and controls
119 lines (100 loc) · 3.05 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
116
117
118
119
[package]
name = "agntcy-slim-testing"
version = "0.1.0"
edition = { workspace = true }
license = { workspace = true }
publish = false
autotests = false
[lib]
name = "slim_testing"
[[bin]]
name = "channel"
path = "src/bin/channel.rs"
[[bin]]
name = "test-group"
path = "src/bin/test_group.rs"
[[bin]]
name = "test-p2p"
path = "src/bin/test_p2p.rs"
[[bin]]
name = "stress-publish"
path = "src/bin/stress_publish.rs"
[[bin]]
name = "stress-session"
path = "src/bin/stress_session.rs"
[[bin]]
name = "sender-app"
path = "src/bin/sender_app.rs"
[[bin]]
name = "receiver-app"
path = "src/bin/receiver_app.rs"
[features]
# Enables the black-box integration-test harness and its `tests/*.rs` suites.
# Kept off by default so normal `cargo test`/`task test` stays fast.
integration = ["dep:regex", "dep:tempfile"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
agntcy-slim = { workspace = true }
agntcy-slim-auth = { workspace = true }
agntcy-slim-config = { workspace = true }
agntcy-slim-datapath = { workspace = true }
agntcy-slim-persistence = { workspace = true }
agntcy-slim-service = { workspace = true, features = ["session"] }
agntcy-slim-session = { workspace = true }
agntcy-slim-tracing = { workspace = true }
anyhow = { workspace = true }
aws-lc-rs = { workspace = true }
base64 = { workspace = true }
bollard = { version = "0.17" }
clap = { workspace = true }
futures = { workspace = true }
jsonwebtoken = { workspace = true }
libc = { version = "0.2.177" }
parking_lot = { workspace = true }
rand = { workspace = true }
regex = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true, optional = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
tracing = { workspace = true }
uuid = { workspace = true }
wiremock = { workspace = true }
# Only used by the `tests/*.rs` integration suites, never by the library itself.
# Cargo does not allow optional dev-dependencies, so these cannot hang off the
# `integration` feature; the suites are gated by `required-features` instead.
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
assert_cmd = { version = "2.0" }
predicates = { version = "3.0" }
[[test]]
name = "channel_manager"
path = "tests/channel_manager.rs"
required-features = ["integration"]
[[test]]
name = "channel_manager_timeout"
path = "tests/channel_manager_timeout.rs"
required-features = ["integration"]
[[test]]
name = "config_startup"
path = "tests/config_startup.rs"
required-features = ["integration"]
[[test]]
name = "control_data_plane"
path = "tests/control_data_plane.rs"
required-features = ["integration"]
[[test]]
name = "control_data_plane_cp"
path = "tests/control_data_plane_cp.rs"
required-features = ["integration"]
[[test]]
name = "header_integrity"
path = "tests/header_integrity.rs"
required-features = ["integration"]
[[test]]
name = "link_negotiation"
path = "tests/link_negotiation.rs"
required-features = ["integration"]
[[test]]
name = "subscription_ack"
path = "tests/subscription_ack.rs"
required-features = ["integration"]