summaryrefslogtreecommitdiff
path: root/build.rs
blob: 318f9bc910d24a701a54f84ccd231630ab2008ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use std::io::Result;

fn main() -> Result<()> {
    // tonic_build::configure()
    //     .build_server(false)
    //     .out_dir("src/rpc")
    //     .compile_protos(
    //         &[
    //             "etc/proto/authzed/authzed/api/v1/core.proto",
    //             "etc/proto/authzed/authzed/api/v1/debug.proto",
    //             "etc/proto/authzed/authzed/api/v1/error_reason.proto",
    //             "etc/proto/authzed/authzed/api/v1/experimental_service.proto",
    //             "etc/proto/authzed/authzed/api/v1/openapi.proto",
    //             "etc/proto/authzed/authzed/api/v1/permission_service.proto",
    //             "etc/proto/authzed/authzed/api/v1/schema_service.proto",
    //             "etc/proto/authzed/authzed/api/v1/watch_service.proto",
    //         ],
    //         &["etc/proto/authzed"],
    //     )?;
    Ok(())
}