diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-16 11:22:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-16 11:22:28 -0600 |
| commit | 69a7dc411c62c2df021b9a0f648e63d7316d8b1b (patch) | |
| tree | 6f67444ca8e371b795f31c129f2633bdc3cedafd | |
| parent | f51dfd3d1e581a631106ce836e1126767354c321 (diff) | |
chore: add buf plugin to generate rust code
| -rw-r--r-- | .bufignore | 1 | ||||
| -rw-r--r-- | buf.gen.yaml | 12 | ||||
| -rw-r--r-- | buf.yaml | 1 |
3 files changed, 13 insertions, 1 deletions
diff --git a/.bufignore b/.bufignore new file mode 100644 index 00000000..a725465a --- /dev/null +++ b/.bufignore @@ -0,0 +1 @@ +vendor/
\ No newline at end of file diff --git a/buf.gen.yaml b/buf.gen.yaml new file mode 100644 index 00000000..ffdcdee9 --- /dev/null +++ b/buf.gen.yaml @@ -0,0 +1,12 @@ +version: v2 +inputs: + - module: buf.build/authzed/api +plugins: + - remote: buf.build/community/neoeinstein-prost:v0.4.0 + out: src/gen + opt: + - compile_well_known_types + - remote: buf.build/community/neoeinstein-tonic:v0.4.0 + out: src/gen + opt: + - compile_well_known_types
\ No newline at end of file @@ -1,7 +1,6 @@ # For details on buf.yaml configuration, visit https://buf.build/docs/configuration/v2/buf-yaml version: v2 deps: - - buf.build/bufbuild/protovalidate - buf.build/authzed/api lint: use: |
