seriously people, don't put "zig-" in your package names

related #20178
This commit is contained in:
Andrew Kelley 2024-06-05 15:45:51 -07:00
parent b32aa99b87
commit 95f0dce7da
2 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,14 @@ build.zig.
String. Required.
This is the default name used by packages depending on this one. For example,
when a user runs `zig fetch --save <url>`, this field is used as the key in the
`dependencies` table. Although the user can choose a different name, most users
will stick with this provided value.
It is redundant to include "zig" in this name because it is already within the
Zig package namespace.
### `version`
String. Required.

View File

@ -1,5 +1,13 @@
.{
// This is the default name used by packages depending on this one. For
// example, when a user runs `zig fetch --save <url>`, this field is used
// as the key in the `dependencies` table. Although the user can choose a
// different name, most users will stick with this provided value.
//
// It is redundant to include "zig" in this name because it is already
// within the Zig package namespace.
.name = "$",
// This is a [Semantic Version](https://semver.org/).
// In a future version of Zig it will be used for package deduplication.
.version = "0.0.0",