I have a question that’s unrelated to the cImport/ffi subject but related to the way you packaged the library. It seems there are two ways of doing this. Either fork a library and add a build.zig (the way you did) and a less obtrusive way to create a zig project that depends on the original lib tarball and provide the zig build there.
What made you take the first route?