#grpc #protobuf #rpc #codegen #async

madsim-tonic-build

Codegen module of madsim-tonic simulation implementation

12 releases

0.4.3+0.10.0 Feb 27, 2024
0.4.2+0.10.0 Oct 8, 2023
0.4.0+0.10.0 Sep 13, 2023
0.3.1+0.9.2 Jul 24, 2023
0.2.0-alpha.1 May 12, 2022

#428 in Simulation

Download history 4550/week @ 2024-04-01 4425/week @ 2024-04-08 4776/week @ 2024-04-15 3929/week @ 2024-04-22 1627/week @ 2024-04-29 3596/week @ 2024-05-06 2774/week @ 2024-05-13 2606/week @ 2024-05-20 1241/week @ 2024-05-27 963/week @ 2024-06-03 746/week @ 2024-06-10 790/week @ 2024-06-17 610/week @ 2024-06-24 1081/week @ 2024-07-01 708/week @ 2024-07-08 799/week @ 2024-07-15

3,229 downloads per month
Used in otlp-embedded

MIT license

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

Dependencies

~0.6–10MB
~113K SLoC