Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SuperAuguste/protoclaw
protoc in zig (WIP)
https://github.com/SuperAuguste/protoclaw
Last synced: 6 days ago
JSON representation
protoc in zig (WIP)
- Host: GitHub
- URL: https://github.com/SuperAuguste/protoclaw
- Owner: SuperAuguste
- License: mit
- Created: 2023-08-13T08:22:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-09T05:21:49.000Z (about 1 year ago)
- Last Synced: 2024-11-01T12:21:39.746Z (12 days ago)
- Language: Zig
- Homepage:
- Size: 185 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# protoclaw
# this doesnt work yet, please do not use
Fully self-contained Protobuf compiler for Zig.
## Table of Contents
- [protoclaw](#protoclaw)
- [this doesnt work yet, please do not use](#this-doesnt-work-yet-please-do-not-use)
- [Usage](#usage)
- [CLI](#cli)
- [`build.zig` Integration](#buildzig-integration)
- [References](#references)
- [License](#license)## Usage
### CLI
### `build.zig` Integration
You can use `protoclaw.GenerateStep` to generate Zig sources from Protobuf schemas in your `build.zig`.
See [our `build.zig`](TODO) for an example.## References
https://protobuf.com/docs/language-spec
https://protobuf.dev/reference/protobuf/proto2-spec/
https://protobuf.dev/reference/protobuf/proto3-spec/protoc .\example\hello.proto -Iexample --cpp_out=protoc-runs
## License
MIT except for all files in `include/`, which are licensed under Protobuf's BSD license, which is can be found at the start of those files or [here](https://github.com/protocolbuffers/protobuf/blob/main/LICENSE).