Crates.io | madsim-tonic-build |
lib.rs | madsim-tonic-build |
version | 0.5.0+0.12.0 |
source | src |
created_at | 2022-05-12 05:32:24.348398 |
updated_at | 2024-08-01 09:21:52.942379 |
description | Codegen module of `madsim-tonic` simulation implementation. |
homepage | https://github.com/madsim-rs/madsim |
repository | https://github.com/madsim-rs/madsim |
max_upload_size | |
id | 585029 |
size | 54,029 |
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.