#grpc #protobuf #rpc #codegen #distributed-system #grpc-service

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

#561 in Simulation

Download history 594/week @ 2024-11-30 647/week @ 2024-12-07 546/week @ 2024-12-14 573/week @ 2024-12-21 635/week @ 2024-12-28 636/week @ 2025-01-04 569/week @ 2025-01-11 671/week @ 2025-01-18 428/week @ 2025-01-25 663/week @ 2025-02-01 732/week @ 2025-02-08 658/week @ 2025-02-15 794/week @ 2025-02-22 911/week @ 2025-03-01 975/week @ 2025-03-08 731/week @ 2025-03-15

3,496 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–11MB
~132K SLoC