File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ jsonrpsee-core = "0.25.1"
3737lazy_static = " 1.5.0"
3838log = " 0.4.27"
3939prometheus = " 0.14.0"
40- prost = " 0.13.5 "
40+ prost = " 0.14.1 "
4141rand = " 0.9.1"
4242rayon = " 1.10.0"
4343rdkafka = { version = " 0.37.0" , features = [" tokio" , " sasl" ] }
@@ -53,7 +53,8 @@ tap_receipt = { version = "1.1.2", path = "tap_receipt" }
5353thegraph-core = " 0.15.1"
5454thiserror = " 2.0.12"
5555tokio = { version = " 1.44.2" , features = [" macros" , " signal" ] }
56- tonic = { version = " 0.13.0" , features = [" transport" , " zstd" ] }
57- tonic-build = " 0.13.0"
56+ tonic = { version = " 0.14.1" , features = [" transport" , " zstd" ] }
57+ tonic-build = " 0.14.1"
58+ tonic-prost-build = " 0.14.1"
5859tower = { version = " 0.5.2" , features = [" util" , " steer" ] }
5960tracing-subscriber = " 0.3.19"
Original file line number Diff line number Diff line change @@ -36,11 +36,13 @@ tap_graph.workspace = true
3636thegraph-core = { workspace = true , features = [" alloy-eip712" ] }
3737tokio.workspace = true
3838tonic.workspace = true
39+ tonic-prost = " 0.14.1"
3940tower = { workspace = true , features = [" util" , " steer" , " limit" ] }
4041tracing-subscriber.workspace = true
4142
4243[build-dependencies ]
4344tonic-build.workspace = true
45+ tonic-prost-build.workspace = true
4446
4547[dev-dependencies ]
4648rand.workspace = true
Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
66 let out_dir = std:: env:: var ( "OUT_DIR" ) . expect ( "OUT_DIR not set by Cargo" ) ;
77 println ! ( "OUT_DIR: {out_dir}" ) ; // This should print the output directory
88
9- tonic_build:: configure ( ) . compile_protos (
10- & [
11- "proto/uint128.proto" ,
12- "proto/tap_aggregator.proto" ,
13- "proto/v2.proto" ,
14- ] ,
15- & [ "proto" ] ,
16- ) ?;
9+ tonic_prost_build:: configure ( )
10+ . build_server ( true )
11+ . compile_protos (
12+ & [
13+ "proto/uint128.proto" ,
14+ "proto/tap_aggregator.proto" ,
15+ "proto/v2.proto" ,
16+ ] ,
17+ & [ "proto" ] ,
18+ ) ?;
1719
1820 Ok ( ( ) )
1921}
You can’t perform that action at this time.
0 commit comments