#grpc #protobuf #codegen #rpc #async #system

madsim-tonic-build

Codegen module of madsim-tonic simulation implementation

13 releases

0.5.0+0.12.0 Aug 1, 2024
0.4.3+0.10.0 Feb 27, 2024
0.4.2+0.10.0 Oct 8, 2023
0.3.1+0.9.2 Jul 24, 2023
0.2.0-alpha.5 Jul 26, 2022

#2146 in Network programming

Download history 536/week @ 2024-07-21 806/week @ 2024-07-28 514/week @ 2024-08-04 884/week @ 2024-08-11 813/week @ 2024-08-18 578/week @ 2024-08-25 688/week @ 2024-09-01 540/week @ 2024-09-08 635/week @ 2024-09-15 1150/week @ 2024-09-22 523/week @ 2024-09-29 848/week @ 2024-10-06 1166/week @ 2024-10-13 753/week @ 2024-10-20 768/week @ 2024-10-27 625/week @ 2024-11-03

3,420 downloads per month
Used in otlp-embedded

MIT license

53KB
1K SLoC

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.10.0. It provides exactly the same API as the original crate.

Dependencies

~0.6–10MB
~119K SLoC