| Crates.io | protoc_gen_ets |
| lib.rs | protoc_gen_ets |
| version | 0.1.1 |
| created_at | 2024-11-12 03:50:30.618753+00 |
| updated_at | 2024-11-12 03:50:30.618753+00 |
| description | a ts, ets generator for protobuf via protoc |
| homepage | |
| repository | https://github.com/lark/protoc-gen-ets |
| max_upload_size | |
| id | 1444513 |
| size | 21,946,984 |
!NOTE Forked from protoc-gen-ts
Compile .proto files to plain ArkTS. Supports concurrent with @Sendable on codec classes.
Run with @ohos/protobufjs
@Sendable for concurrenttoJson, fromJson)toBinary, fromBinary)npm install -g @larkoh/protoc-gen-ets
protoc -I=sourcedir --ets_out=dist myproto.proto --ets_opt="namespace_as_file=true,export_indcies=true,bigint_as_long=true"
./infra/test.sh