NOSHP-Client 0.3.3

The Client library for Nik's Open-source Smart Home Platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .protoc_arg("--experimental_allow_proto3_optional")
        .compile(
            &[
            "proto/iot/types.proto",
            "proto/iot/registrationService.proto",
            "proto/iot/requestUpdateService.proto",
            "proto/iot/deviceControlService.proto",
            ],
            &["proto/iot"],
            )?;

    return Ok(());
}