fundamentum-iot-mqtt-proto 0.3.0

Bindings to Fundamentum IoT MQTT protos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Inspired by `prost-build` example: <https://docs.rs/prost-build/latest/prost_build/#example>
fn main() -> Result<(), Box<dyn std::error::Error>> {
    prost_build::Config::new().compile_protos(
        &[
            "./proto/actions.proto",
            "./proto/actions/client.proto",
            "./proto/actions/file_transfer.proto",
            "./proto/actions/status.proto",
        ],
        &["./proto"],
    )?;

    Ok(())
}