Skip to content

Commit 0fe3257

Browse files
committed
Auto merge of #12913 - anupj:master, r=epage
Updating "features" documentation to add a note about the new limit on number of features ### What does this PR try to resolve? Adding the following note to [features docs page](https://doc.rust-lang.org/cargo/reference/features.html) > Note: New crates or versions published on [crates.io](http://crates.io/) are now limited to > a maximum of 300 features. Exceptions are granted on a case-by-case basis. > See this [blog post] for details. Participation in solution discussions is > encouraged via the [crates.io](http://crates.io/) Zulip stream. ### How should we test and review this PR? I don't think this change requires any additional testing beyond a general review. ### Additional information
2 parents 6354bb3 + 51bef65 commit 0fe3257

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/doc/src/reference/features.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ either be enabled or disabled. Features for the package being built can be
77
enabled on the command-line with flags such as `--features`. Features for
88
dependencies can be enabled in the dependency declaration in `Cargo.toml`.
99

10+
> **Note**: New crates or versions published on crates.io are now limited to
11+
> a maximum of 300 features. Exceptions are granted on a case-by-case basis.
12+
> See this [blog post] for details. Participation in solution discussions is
13+
> encouraged via the crates.io Zulip stream.
14+
15+
[blog post]: https://blog.rust-lang.org/2023/10/26/broken-badges-and-23k-keywords.html
16+
1017
See also the [Features Examples] chapter for some examples of how features can
1118
be used.
1219

0 commit comments

Comments
 (0)