converge-remote 0.1.2

Converge runtime driver - connects to converge-runtime via gRPC
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2024-2025 Aprio One AB, Sweden
// Author: Kenneth Pernyer, kenneth@aprio.one
// SPDX-License-Identifier: MIT

fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .build_server(false) // Client only
        .build_client(true)
        // Don't derive serde for all types - prost_types::Struct doesn't support it
        // We'll handle JSON conversion manually where needed
        .compile_protos(&["proto/converge.proto"], &["proto/"])?;
    Ok(())
}