https://github.com/fluo10/caretta-id-proto
Protobuf definitions for MTID (Multi-length Triplet ID) messages.
https://github.com/fluo10/caretta-id-proto
Last synced: 4 months ago
JSON representation
Protobuf definitions for MTID (Multi-length Triplet ID) messages.
- Host: GitHub
- URL: https://github.com/fluo10/caretta-id-proto
- Owner: fluo10
- License: apache-2.0
- Created: 2025-10-19T21:04:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-11-13T21:29:08.000Z (8 months ago)
- Last Synced: 2025-11-13T23:26:06.145Z (8 months ago)
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# caretta-id-proto
Protobuf definitions for caretta-id messages.
For Rust implementation and usage examples, see https://github.com/fluo10/caretta-id
## Usage
### Installation
Add this repository to your project.
```bash
git submodule add https://github.com/fluo10/caretta-id-proto
```
### Import
Import and define new message.
```protobuf:foo/bar.proto
syntax = "proto3";
package foo;
import "caretta_id/caretta_id_d.proto";
message Bar {
caretta_id.CarettaIdD id = 1;
}
```
### Compilation
You must specify the added directory using the `--proto_path` option during compilation.
```bash
protoc --proto_path=caretta-id-proto --python_out=BUILD_DIR foo/bar.proto
```
## License
Licensed under either of:
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
- MIT License ([LICENSE-MIT](LICENSE-MIT))
at your option.