repository
repository copied to clipboard
Add new package option to indicate whether it has module support
Zig package manager has been merged for a while, as for this project, I suggest we add a new option module: bool to indicate whether it has module support, something like this:
{
"author": "vrischmann",
"tags": [
"database"
],
"git": "https://github.com/vrischmann/zig-sqlite",
"root_file": "/sqlite.zig",
"description": "zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig. ",
"license": "mit",
"updated_at": "2023-01-28T06:15:38Z",
"homepage": ""
"module": false // newly add field
}
Perhaps it will be a point in time issue, and before long all maintained zig packages will have official package manager support. In that case the flag might be redundant.
After 0.11 is released, it might be reasonable to require all packages on this list to support being a "module", and remove the ones that do not as un-maintained. This would also make adding the flag unnecessary after that point.
Personally, I'm hoping all packages will adopt the official packaging system.
Perhaps it will be a point in time issue, and before long all maintained zig packages will have official package manager support.
That's a good point.
IMO this period won't be short, perhaps 2 or 3 years is required for the community to keep up.
Not sure if a module field is enough. That has to be actively maintained and i honestly don't have the time to periodically check each project listed here if they support modules. If we now introduce this, someone has to maintain that field