{"id":19863247,"url":"https://github.com/allyourcodebase/protobuf-c","last_synced_at":"2025-02-28T23:15:48.147Z","repository":{"id":257327199,"uuid":"857934343","full_name":"allyourcodebase/protobuf-c","owner":"allyourcodebase","description":"The libprotobuf-c runtime library ported to the zig build system","archived":false,"fork":false,"pushed_at":"2024-09-16T01:53:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T15:23:18.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allyourcodebase.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-16T01:22:10.000Z","updated_at":"2024-09-16T01:52:56.000Z","dependencies_parsed_at":"2024-09-16T02:47:36.272Z","dependency_job_id":"315a0945-e55d-4155-b04f-0a234c5b560d","html_url":"https://github.com/allyourcodebase/protobuf-c","commit_stats":null,"previous_names":["allyourcodebase/protobuf-c"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Fprotobuf-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Fprotobuf-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Fprotobuf-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allyourcodebase%2Fprotobuf-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allyourcodebase","download_url":"https://codeload.github.com/allyourcodebase/protobuf-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241272619,"owners_count":19937091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T15:14:08.117Z","updated_at":"2025-02-28T23:15:48.127Z","avatar_url":"https://github.com/allyourcodebase.png","language":"Zig","readme":"# `protobuf-c` Runtime\n\nThis is the [protobuf-c runtime](https://github.com/protobuf-c/protobuf-c/tree/master/protobuf-c), packaged for [Zig](https://ziglang.org/).\n\n## Status\n\nThis project only builds the `protobuf-c` runtime library. It does not build `protoc-c`, the corresponding protocol buffers C language code generator.\n\nThe runtime library depends only on a small amount of functionality from libc, so it should compile for most targets. Linux, macOS and Windows are tested by CI.\n\n## Usage\n\nFirst, update your `build.zig.zon`:\n\n```sh\n# Initialize a `zig build` project if you haven't already\nzig init\n# replace \u003crefname\u003e with the version you want to use, e.g. 1.5.0\nzig fetch --save git+https://github.com/allyourcodebase/protobuf-c#\u003crefname\u003e\n```\n\nYou can then use `protobuf_c` in your `build.zig` with:\n\n```zig\nconst protobuf_c_dep = b.dependency(\"protobuf_c\", .{\n    .target = target,\n    .optimize = optimize,\n});\nyour_exe.linkLibrary(protobuf_c_dep.artifact(\"protobuf_c\"));\n```\n\n## Version Support Matrix\n\n|  Refname | protobuf-c Version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |\n|----------|--------------------|--------------|--------------|------------------|\n| `1.5.0`  | `1.5.0`            | ✅           | ✅          | ✅              |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallyourcodebase%2Fprotobuf-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallyourcodebase%2Fprotobuf-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallyourcodebase%2Fprotobuf-c/lists"}