jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.48k stars 330 forks source link

Feature Request: Add zig package #401

Closed kassane closed 1 year ago

kassane commented 1 year ago

The purpose of this proposal is to allow Zig developers to use libxlsxwriter in their projects without the need for git modules or any other external tool.

zig-pkg is still experimental and will be available in the v0.11.0 release - expected at the end of May.

Theoretically it works similar to go mod or fetchContent (cmake).

kassane commented 1 year ago

@jmcnamara ,

My upgrade with all deps, see:

Still don't understand why GH-action on linux and macOS are getting error during download of zlib (zig-pkg). After testing on my linux machine, it worked the same on the Windows machine mentioned above! https://github.com/kassane/libxlsxwriter/actions/runs/4959441372

https://github.com/jmcnamara/libxlsxwriter/blob/58dde43713d3d51fdd3fe65db67f3af6afbcc272/build.zig.zon#L1-L10

changelog: https://github.com/jmcnamara/libxlsxwriter/compare/main...kassane:libxlsxwriter:pkg-update