diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-16 16:50:56 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-16 16:50:56 -0600 |
| commit | 095a098a4416d3222d26303a435fbdacc81db12e (patch) | |
| tree | 07496e1fe75bf5a2af15cfa0054eec16c41f0e60 /build.rs | |
| parent | ac86fe39f0828e9c55b446a26c44b6b5813c1541 (diff) | |
chore: compile protobuf definitions
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.rs b/build.rs new file mode 100644 index 00000000..8ba38bf2 --- /dev/null +++ b/build.rs @@ -0,0 +1,9 @@ +use std::io::Result; + +fn main() -> Result<()> { + let _ = tonic_build::configure().out_dir("src/rpc").compile_protos( + &["etc/proto/authzed/authzed/api/v1/permission_service.proto"], + &["etc/proto/authzed"], + ); + Ok(()) +} |
