Skip to content

Commit 1c28d89

Browse files
committed
Update registry documentation with new proc-macro field.
1 parent 0b115f5 commit 1c28d89

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/doc/src/reference/registries.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@ explaining the format of the entry.
239239
"yanked": false,
240240
// The `links` string value from the package's manifest, or null if not
241241
// specified. This field is optional and defaults to null.
242-
"links": null
242+
"links": null,
243+
// This is `true` if the package is a proc-macro.
244+
// Note: This field was added in Rust 1.44. Packages published with
245+
// earlier versions will not set this field.
246+
"pm": false,
243247
}
244248
```
245249

@@ -404,6 +408,10 @@ considered as an exhaustive list of restrictions [crates.io] imposes.
404408
// The `links` string value from the package's manifest, or null if not
405409
// specified. This field is optional and defaults to null.
406410
"links": null,
411+
// This is `true` if the package is a proc-macro.
412+
// Note: This field was added in Rust 1.44. Packages published with
413+
// earlier versions will not set this field.
414+
"proc_macro": false,
407415
}
408416
```
409417

0 commit comments

Comments
 (0)