mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 00:35:38 +02:00
⭐ feat: Add protobuf (#171)
This is a second attempt to add protobuf to Nestri, after the first one failed --------- Co-authored-by: Philipp Neumann <3daquawolf@gmail.com> Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
This commit is contained in:
17
buf.gen.yaml
Normal file
17
buf.gen.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: v2
|
||||
inputs:
|
||||
- directory: protobufs
|
||||
plugins:
|
||||
# TypeScript (frontend)
|
||||
- remote: buf.build/bufbuild/es
|
||||
out: packages/input/src/proto
|
||||
opt: target=ts
|
||||
|
||||
# Golang (relay)
|
||||
- remote: buf.build/protocolbuffers/go
|
||||
out: packages/relay/internal/proto
|
||||
opt: paths=source_relative
|
||||
|
||||
# Rust (nestri-server)
|
||||
- remote: buf.build/community/neoeinstein-prost
|
||||
out: packages/server/src/proto
|
||||
Reference in New Issue
Block a user