A Google Protocol Buffers implementation in Ada
The preferred installation method is compiling from sources. Just checkout repository and run:
make all install PREFIX=/path/to/install
You can also build with Alire:
If you distribute a crate that doesn't require Protobuf compiler then you may depend just on protobuf_runtime
. The corresponding alire.toml
is located in packages/protobuf_runtime
directory.
There is also a precompiled RPM for Fedora Linux.
It depends on
Launch protoc
with --ada_out=<dir>
option having protoc-gen-ada
in the PATH
.
Example:
PATH=.objs/compiler/:$PATH protoc --ada_out=/tmp/ /usr/include/google/protobuf/descriptor.proto
See more details in Ada Generated Code document.
A very simple demo could be found in demo/
folder. To run it just execute:
Feel free to dive in! Open an issue or submit PRs.
If you find this open source project useful, you may provide me a small support on Patreon.
MIT © Maxim Reznik
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4