#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

#380 in Simulation

Download history 6080/week @ 2024-01-20 6868/week @ 2024-01-27 5090/week @ 2024-02-03 1022/week @ 2024-02-10 3881/week @ 2024-02-17 5642/week @ 2024-02-24 5250/week @ 2024-03-02 3869/week @ 2024-03-09 5286/week @ 2024-03-16 4914/week @ 2024-03-23 4128/week @ 2024-03-30 4989/week @ 2024-04-06 4611/week @ 2024-04-13 3700/week @ 2024-04-20 1933/week @ 2024-04-27 3433/week @ 2024-05-04

14,388 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–11MB
~120K SLoC