deps: vendor protobuf-c runtime library v1.4.1

1. I'm not using git-subrepo for this because most of the protobuf-c
   git repository is for the protocol buffers compiler integration,
   which we do not need because nats.c already has the generated files
   in its source tree.

2. The protobuf-c runtime library is pretty simple, so maintaining its
   build process should be quite straightforward. It seems stable as
   well, which should simplify the maintenance burden.

3. Not having streaming support is the last major nats.c feature
   missing from this project (as far as I am aware). Building this
   functionality into the library, even if a nice zig API is missing
   (as it is with jetStream as well), can still allow a determined
   user to wrap and use the functionality while benefitting from the
   zig build system and package manager, which is a win.
This commit is contained in:
torque 2023-10-14 18:25:01 -07:00
parent 41fbdf886b
commit ff13f5e621
Signed by: torque
SSH Key Fingerprint: SHA256:nCrXefBNo6EbjNSQhv0nXmEg/VuNq3sMF5b8zETw3Tk
2 changed files with 4782 additions and 0 deletions

3672
deps/protobuf-c/protobuf-c.c vendored Normal file

File diff suppressed because it is too large Load Diff

1110
deps/protobuf-c/protobuf-c.h vendored Normal file

File diff suppressed because it is too large Load Diff