Hejsil / mecha

A parser combinator library for Zig
MIT License
473 stars 21 forks source link

Support the new zig package manager #55

Closed Ev1lT3rm1nal closed 1 year ago

Ev1lT3rm1nal commented 1 year 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 1 year 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 1 year ago

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