tonic-build 0.12.3

Codegen module of `tonic` gRPC implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone)]
pub(crate) struct CompileSettings {
    #[cfg(feature = "prost")]
    pub(crate) codec_path: String,
}

impl Default for CompileSettings {
    fn default() -> Self {
        Self {
            #[cfg(feature = "prost")]
            codec_path: "tonic::codec::ProstCodec".to_string(),
        }
    }
}