From cf36b0deb12472895806f15e99c2ea507cdeafab Mon Sep 17 00:00:00 2001 From: Anup Jadhav Date: Fri, 3 Nov 2023 06:49:32 +0000 Subject: [PATCH] Update features.md Updating docs to reflect the fact that crate features are limited to 300 to ensure system stability as per this blog post announcement: https://blog.rust-lang.org/2023/10/26/broken-badges-and-23k-keywords.html --- src/doc/src/reference/features.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/doc/src/reference/features.md b/src/doc/src/reference/features.md index 9e521049cda..e3a845d9505 100644 --- a/src/doc/src/reference/features.md +++ b/src/doc/src/reference/features.md @@ -7,6 +7,13 @@ either be enabled or disabled. Features for the package being built can be enabled on the command-line with flags such as `--features`. Features for dependencies can be enabled in the dependency declaration in `Cargo.toml`. +> **Note**: New crates or versions published on 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 Zulip stream. + +[blog post]: https://blog.rust-lang.org/2023/10/26/broken-badges-and-23k-keywords.html + See also the [Features Examples] chapter for some examples of how features can be used.