Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

Packages

Contributors

Languages