#rpc #grpc #async #codegen #protobuf

madsim-tonic-build

Codegen module of madsim-tonic simulation implementation

6 releases

0.2.11 Dec 2, 2022
0.2.0 Aug 10, 2022
0.2.0-alpha.5 Jul 26, 2022
0.2.0-alpha.1 May 12, 2022

#2191 in Network programming

Download history 161/week @ 2022-12-09 153/week @ 2022-12-16 143/week @ 2022-12-23 169/week @ 2022-12-30 224/week @ 2023-01-06 147/week @ 2023-01-13 103/week @ 2023-01-20 149/week @ 2023-01-27 196/week @ 2023-02-03 210/week @ 2023-02-10 882/week @ 2023-02-17 188/week @ 2023-02-24 224/week @ 2023-03-03 273/week @ 2023-03-10 267/week @ 2023-03-17 227/week @ 2023-03-24

1,017 downloads per month

MIT license

40KB
828 lines

madsim-tonic-build

Crate Docs

Compiles proto files via prost and generates service stubs and proto definitiones for use with madsim-tonic.

This crate will generate code for simulation along with the original code. The macro madsim_tonic::include_proto will decide which version to use based on whether the sim feature is enabled.

This code is modified from tonic-build v0.7.2. It provides exactly the same API as the original crate.

Dependencies

~1–6.5MB
~122K SLoC