#async #protobuf #codegen #rpc

madsim-tonic-build

Codegen module of madsim-tonic simulation implementation

14 releases

0.5.2+0.12.3 Dec 3, 2025
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.2.0-alpha.5 Jul 26, 2022

#808 in Simulation

Download history 555/week @ 2025-10-04 2119/week @ 2025-10-11 1274/week @ 2025-10-18 1496/week @ 2025-10-25 2244/week @ 2025-11-01 2060/week @ 2025-11-08 961/week @ 2025-11-15 6333/week @ 2025-11-22 2230/week @ 2025-11-29 1598/week @ 2025-12-06 1220/week @ 2025-12-13 842/week @ 2025-12-20 494/week @ 2025-12-27 1247/week @ 2026-01-03 978/week @ 2026-01-10 1356/week @ 2026-01-17

4,181 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–6.5MB
~143K SLoC