@bridgesplit/bs-protos
v2.0.1
Published
Shared proto files across multi-language services.
Downloads
26
Readme
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.
Then run ./build.sh to generate the files.
Once the files are generated, update the index.ts in generated/typescript, and the mod.rs in generated/rust.
./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://[email protected]/bridgesplit/bs-protos.git
For ts, use yarn add ssh://[email protected]/bridgesplit/bs-proto