#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

#2178 in Network programming

Download history 1067/week @ 2024-09-19 783/week @ 2024-09-26 384/week @ 2024-10-03 1151/week @ 2024-10-10 1009/week @ 2024-10-17 814/week @ 2024-10-24 616/week @ 2024-10-31 579/week @ 2024-11-07 792/week @ 2024-11-14 928/week @ 2024-11-21 682/week @ 2024-11-28 630/week @ 2024-12-05 583/week @ 2024-12-12 570/week @ 2024-12-19 498/week @ 2024-12-26 723/week @ 2025-01-02

2,537 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
~126K SLoC