#grpc #codegen #protobuf #async

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

#554 in Simulation

Download history 758/week @ 2025-01-21 333/week @ 2025-01-28 745/week @ 2025-02-04 700/week @ 2025-02-11 638/week @ 2025-02-18 829/week @ 2025-02-25 999/week @ 2025-03-04 897/week @ 2025-03-11 1029/week @ 2025-03-18 813/week @ 2025-03-25 542/week @ 2025-04-01 966/week @ 2025-04-08 1150/week @ 2025-04-15 1174/week @ 2025-04-22 603/week @ 2025-04-29 634/week @ 2025-05-06

3,762 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
~131K SLoC