#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

#2185 in Network programming

Download history 848/week @ 2024-10-06 1166/week @ 2024-10-13 753/week @ 2024-10-20 768/week @ 2024-10-27 666/week @ 2024-11-03 509/week @ 2024-11-10 993/week @ 2024-11-17 785/week @ 2024-11-24 610/week @ 2024-12-01 633/week @ 2024-12-08 613/week @ 2024-12-15 532/week @ 2024-12-22 620/week @ 2024-12-29 651/week @ 2025-01-05 542/week @ 2025-01-12 666/week @ 2025-01-19

2,526 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
~125K SLoC