#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

#2150 in Network programming

Download history 809/week @ 2024-08-19 565/week @ 2024-08-26 692/week @ 2024-09-02 532/week @ 2024-09-09 641/week @ 2024-09-16 1274/week @ 2024-09-23 394/week @ 2024-09-30 853/week @ 2024-10-07 1166/week @ 2024-10-14 775/week @ 2024-10-21 753/week @ 2024-10-28 658/week @ 2024-11-04 517/week @ 2024-11-11 1011/week @ 2024-11-18 768/week @ 2024-11-25 583/week @ 2024-12-02

2,901 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.5–10MB
~117K SLoC