Skip to content

Commit

Permalink
Update registry documentation with new proc-macro field.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 17, 2020
1 parent 0b115f5 commit 1c28d89
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/doc/src/reference/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,11 @@ explaining the format of the entry.
"yanked": false,
// The `links` string value from the package's manifest, or null if not
// specified. This field is optional and defaults to null.
"links": null
"links": null,
// This is `true` if the package is a proc-macro.
// Note: This field was added in Rust 1.44. Packages published with
// earlier versions will not set this field.
"pm": false,
}
```

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

Expand Down

0 comments on commit 1c28d89

Please sign in to comment.