pcs-external 0.5.1

Ppoppo Chat System (PCS) External API client -- gRPC client for the External Developer Platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(
    clippy::unwrap_used,
    clippy::expect_used,
    clippy::panic,
    reason = "build scripts run at build time; panicking/expect/unwrap is their idiomatic failure mechanism (cargo surfaces a build-script panic as a build error). The workspace [lints.clippy] deny of these targets runtime code and cannot be scoped per-target via the lints table, so the exception lives per build script, applied uniformly across all workspace build.rs."
)]

fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_prost_build::configure()
        .build_server(false)
        .build_client(true)
        .compile_protos(
            &["proto/ppoppo/external/v1/external.proto"],
            &["proto/ppoppo/external/v1"],
        )?;
    Ok(())
}