Skip to content
allyourcodebasePublic

About

protobuf and protoc ported to the zig build system

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

protobuf

protobuf but packaged for Zig.

How to add to your project

zig fetch --save git+https://github.com/allyourcodebase/protobuf

You can then access the available libraries and executables like this:

const protobuf_dep = b.dependency("protobuf", .{
    .target = target,
    .optimize = optimize,
});

// libµpb
const libupb = protobuf_dep.artifact("libupb");

// libprotobuf
const libprotobuf = protobuf_dep.artifact("libprotobuf");

// libprotoc
const libprotoc = protobuf_dep.artifact("libprotoc");

// protoc
const protoc = protobuf_dep.artifact("protoc");

About

protobuf and protoc ported to the zig build system

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages