madsim-tonic-build

Crates.iomadsim-tonic-build
lib.rsmadsim-tonic-build
version0.5.0+0.12.0
sourcesrc
created_at2022-05-12 05:32:24.348398
updated_at2024-08-01 09:21:52.942379
descriptionCodegen module of `madsim-tonic` simulation implementation.
homepagehttps://github.com/madsim-rs/madsim
repositoryhttps://github.com/madsim-rs/madsim
max_upload_size
id585029
size54,029
crates-io (github:madsim-rs:crates-io)

documentation

README

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.

Commit count: 331

cargo fmt