rust-lang / rust-lang/rust

Tracking Issue for Packages as (optional) namespaces

Open
#122,349 24 comments 30 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-tracking-issue T-cargo T-compiler T-crates-io T-lang
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

View all comments

This is a tracking issue for the RFC "3243" (rust-lang/rfcs#3243).

  • crates.io tracking issue: rust-lang/crates.io#8292
  • cargo tracking issue: rust-lang/cargo#13576
  • docs.rs tracking issue: rust-lang/docs.rs#2457
About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps
Unresolved Questions

Third-parties, like Linux distributions, will need to decide how to encode
cargo package names in their distribution package names according to their
individual rules.
Compared to existing ecosystems with namespaces that they package, the only new
wrinkle is that there can be 0-1 namespace levels.

Implementation history

Contributor guide

Open the contributing guide

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

Start by reading RFC 3243 and the linked Cargo, crates.io, and docs.rs tracking issues to understand the implementation scope. The unresolved questions specifically call out Cargo.toml lib.name, --extern, -L, sysroots, and compiler name conflicts; completion requires resolving those questions and progressing the listed implementation, documentation, formatting, and stabilization steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.