#automatic #compiler #rustc-auto-publish #language #package #github #features

nightly rustc-ap-rustc_feature

Automatically published version of the package rustc_feature in the rust-lang/rust repository from commit 9a27044f42ace9eb652781b53f598e25d4e7e918 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish

93 major breaking releases

727.0.0 Jul 6, 2021
726.0.0 Jun 29, 2021
725.0.0 Jun 22, 2021
724.0.0 Jun 15, 2021
631.0.0 Dec 3, 2019

#1574 in Development tools

Download history 47/week @ 2024-07-21 116/week @ 2024-07-28 48/week @ 2024-08-04 51/week @ 2024-08-11 31/week @ 2024-08-18 54/week @ 2024-08-25 50/week @ 2024-09-01 85/week @ 2024-09-08 72/week @ 2024-09-15 179/week @ 2024-09-22 177/week @ 2024-09-29 115/week @ 2024-10-06 79/week @ 2024-10-13 74/week @ 2024-10-20 78/week @ 2024-10-27 76/week @ 2024-11-03

331 downloads per month
Used in 19 crates (5 directly)

MIT/Apache

1MB
16K SLoC

Feature gates

This crate declares the set of past and present unstable features in the compiler. Feature gate checking itself is done in rustc_ast_passes/src/feature_gate.rs at the moment.

Features are enabled in programs via the crate-level attributes of #![feature(...)] with a comma-separated list of features.

For the purpose of future feature-tracking, once a feature gate is added, even if it is stabilized or removed, do not remove it. Instead, move the symbol to the accepted or removed modules respectively.

Dependencies

~8–18MB
~269K SLoC