Hejsil / mecha

A parser combinator library for Zig
MIT License
413 stars 18 forks source link

Support the new zig package manager #55

Closed Ev1lT3rm1nal closed 9 months ago

Ev1lT3rm1nal commented 9 months ago

Since mecha does not compile to an actual library, it can't be used as a module using the zig package manager

Hejsil commented 9 months ago

I'm not sure how you're trying to use the package manager, but I have one program that depends on mecha through the package manager. See build.zig.zon#L9-L12 and build.zig#L25-L35. Perhaps this needs to be documented better. I'm not sure how Zig documents how the package manager should be used.

Hejsil commented 9 months ago

Without any further detail I cannot really do much with this issue. Closing