-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
proposalSome changes are proposedSome changes are proposed
Description
This is required for more complex packages that depend on each other. My proposal is to do the following format change:
{
"dependencies": {
"${import name 1}": "${package name 1}",
"${import name 2}": "${package name 2}"
}
}
This allows package managers to create a correct DAG out of the packages and build a correct std.build.Pkg
structure. Import name is the name that needs to get passed to @import(…)
, package name is the file name in the repository without the file extension.
Example:
{
"author": "truemedian",
"description": "A WebSocket 1.3 library for Zig",
"git": "https://github.com/truemedian/wz",
"root_file": "/src/main.zig",
"dependencies": {
"hzzp": "hzzp"
},
"tags": [
"networking"
]
}
Metadata
Metadata
Assignees
Labels
proposalSome changes are proposedSome changes are proposed