#rpc #grpc #async #codegen #protobuf

madsim-tonic-build

Codegen module of madsim-tonic simulation implementation

12 releases

new 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

#5 in #simulator

Download history 4800/week @ 2023-11-07 4794/week @ 2023-11-14 5671/week @ 2023-11-21 5877/week @ 2023-11-28 5222/week @ 2023-12-05 4724/week @ 2023-12-12 4518/week @ 2023-12-19 4386/week @ 2023-12-26 5294/week @ 2024-01-02 5637/week @ 2024-01-09 6599/week @ 2024-01-16 5775/week @ 2024-01-23 7870/week @ 2024-01-30 3243/week @ 2024-02-06 1794/week @ 2024-02-13 3297/week @ 2024-02-20

17,407 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–12MB
~122K SLoC