zamqp is a Zig wrapper around rabbitmq-c.
- Install
librabbitmq
. - Add the following to your
build.zig
(you may need to adjust the path):step.linkLibC(); step.linkSystemLibrary("rabbitmq"); step.addPackagePath("zamqp", "../zamqp/src/zamqp.zig");
- Import with
@import("zamqp")
.