2.0.0 • Published 2 months ago
@bridgesplit/bs-protos v2.0.0
bs-protos
Shared proto files across multi-language services.
Will generate libs for the structs in various languages for imports.
To add a new proto file add it to the proto folder and update the build.rs with the file name, and update the index.ts in generated/typescript.
./build.sh should generate the files in the languages.
To add a new language, update ./build.sh.
To import rust point to the git ssh url with package name bs-protos, i.e: git+ssh://git@github.com/bridgesplit/bs-protos.git
For ts, use yarn add ssh://git@github.com/bridgesplit/bs-proto