NOSHP-Client 0.1.4

The Client library for Nik's Open-source Smart Home Platform
Documentation
1
2
3
4
5
6
7
8
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::compile_protos("proto/iot/types.proto")?;
    tonic_build::compile_protos("proto/iot/registrationService.proto")?;
    tonic_build::compile_protos("proto/iot/requestUpdateService.proto")?;
    tonic_build::compile_protos("proto/iot/deviceControlService.proto")?;

    return Ok(());
}