mathscape-api 0.1.5

Shared API types with REST (serde), GraphQL (async-graphql), and gRPC (prost) representations
1
2
3
4
5
6
7
8
9
10
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .build_server(true)
        .build_client(true)
        .compile_protos(
            &["../../proto/mathscape/v1/engine.proto"],
            &["../../proto"],
        )?;
    Ok(())
}