#compiler #rustc-auto-publish #automatic #package #language #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

#885 in Programming languages

Download history 68/week @ 2024-10-16 76/week @ 2024-10-23 79/week @ 2024-10-30 60/week @ 2024-11-06 50/week @ 2024-11-13 50/week @ 2024-11-20 67/week @ 2024-11-27 85/week @ 2024-12-04 126/week @ 2024-12-11 50/week @ 2024-12-18 9/week @ 2024-12-25 21/week @ 2025-01-01 21/week @ 2025-01-08 46/week @ 2025-01-15 31/week @ 2025-01-22 17/week @ 2025-01-29

122 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

~9–19MB
~278K SLoC