Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(features): Highlight the non-blocking feature gating technique #13307

Merged
merged 1 commit into from
Jan 16, 2024

Commits on Jan 16, 2024

  1. doc(features): Highlight the non-blocking feature gating technique

    We already discussed non-blocking gates but the language makes it sound
    like it was limited to `config.toml`.
    Since I haven't been touching that, I had always overlooked that
    section.
    
    This change brings the blocking / non-blocking decision front and
    center.
    To support this, the later sections focus more on mechanisms (the gate)
    rather than on what is being done (new syntax for `cargo-features`).
    
    I also feel this makes the content more scannable.
    
    This is adapted from what I did for `[lints]` (see rust-lang#12148).
    epage committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    354e198 View commit details
    Browse the repository at this point in the history