@@ -50,6 +50,10 @@ required-features = ["bin"]
50
50
name = " wrpc-wasmtime"
51
51
required-features = [" bin" , " nats" , " wasmtime" ]
52
52
53
+ [[bench ]]
54
+ name = " bench"
55
+ harness = false
56
+
53
57
[dependencies ]
54
58
anyhow = { workspace = true , features = [" std" ] }
55
59
async-nats = { workspace = true , optional = true }
@@ -80,28 +84,21 @@ wrpc-wasmtime-cli = { workspace = true, optional = true }
80
84
[dev-dependencies ]
81
85
anyhow = { workspace = true }
82
86
bytes = { workspace = true }
83
- futures = { workspace = true , features = [" async-await" ] }
84
- quinn = { workspace = true , features = [
85
- " log" ,
86
- " platform-verifier" ,
87
- " ring" ,
88
- " runtime-tokio" ,
89
- " rustls" ,
90
- ] }
91
- rcgen = { workspace = true , features = [" crypto" , " ring" , " zeroize" ] }
92
- rustls = { workspace = true , features = [" logging" , " ring" ] }
87
+ criterion = { workspace = true , features = [" async_tokio" ] }
88
+ futures = { workspace = true }
93
89
tempfile = { workspace = true }
94
90
test-log = { workspace = true , features = [" color" , " log" , " trace" ] }
95
91
tokio = { workspace = true , features = [" process" , " rt-multi-thread" ] }
96
- wrpc-cli = { workspace = true }
97
- wrpc-transport = { workspace = true }
92
+ wrpc-test = { workspace = true , features = [ " nats " , " quic " ] }
93
+ wrpc-transport = { workspace = true , features = [ " net " ] }
98
94
99
95
[workspace .dependencies ]
100
96
anyhow = { version = " 1" , default-features = false }
101
97
async-nats = { version = " 0.37" , default-features = false }
102
98
bitflags = { version = " 2" , default-features = false }
103
99
bytes = { version = " 1" , default-features = false }
104
100
clap = { version = " 4" , default-features = false }
101
+ criterion = { version = " 0.5" , default-features = false }
105
102
futures = { version = " 0.3" , default-features = false }
106
103
heck = { version = " 0.5" , default-features = false }
107
104
humantime = { version = " 2.1" , default-features = false }
@@ -144,6 +141,7 @@ wit-parser = { version = "0.218", default-features = false }
144
141
wrpc-cli = { version = " 0.4" , path = " ./crates/cli" , default-features = false }
145
142
wrpc-introspect = { version = " 0.5" , default-features = false , path = " ./crates/introspect" }
146
143
wrpc-runtime-wasmtime = { version = " 0.24.1" , path = " ./crates/runtime-wasmtime" , default-features = false }
144
+ wrpc-test = { path = " ./crates/test" , default-features = false }
147
145
wrpc-transport = { version = " 0.28.2" , path = " ./crates/transport" , default-features = false }
148
146
wrpc-transport-nats = { version = " 0.25" , path = " ./crates/transport-nats" , default-features = false }
149
147
wrpc-transport-quic = { version = " 0.3" , path = " ./crates/transport-quic" , default-features = false }
0 commit comments