rust-lang / rust-lang/docs.rs

Feature request: Allow different features for each build target

Open
#1,185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-builds C-enhancement E-medium
Dominant language
Rust
Stars
1.2k
Forks
233
Avg merge
11h 35m
Merged PRs (30d)
60

Description

Right now, docs.rs uses the same set of features for all targets. Instead, it would be nice if you could provide a different set of features for each target. This would make it possible to handle some forms of conditional compilation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files or tests. Start by locating how docs.rs configures features and build targets, then trace the build orchestration for target-specific settings. Done means callers can provide different feature sets for each target and conditional-compilation cases are handled without changing the shared configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.