autd3-protobuf 22.1.0

Protocol Buffer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(feature = "tonic-build")]
fn main() -> std::io::Result<()> {
    tonic_build::compile_protos("./proto/autd3.proto")?;
    #[cfg(feature = "lightweight")]
    tonic_build::compile_protos("./proto/lightweight.proto")?;
    Ok(())
}

#[cfg(not(feature = "tonic-build"))]
fn main() -> std::io::Result<()> {
    Ok(())
}