Open
Description
This is a tracking issue for the RFC "3243" (rust-lang/rfcs#3243).
- crates.io tracking issue: Tracking Issue for Packages as (optional) namespaces crates.io#8292
- cargo tracking issue: Tracking Issue for Packages as (optional) namespaces cargo#13576
- docs.rs tracking issue: Tracking Issue for Packages as (optional) namespaces 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
- Implement the RFC (can anyone write up mentoring
instructions?) - Adjust documentation (see instructions on rustc-dev-guide)
- Formatting for new syntax has been added to the Style Guide (nightly-style-procedure)
- Stabilization PR (see instructions on rustc-dev-guide)
Unresolved Questions
- How exactly should the Cargo.toml
lib.name
key work in this world, and how does that integrate with--extern
and-L
and sysroots? - Decide on and document precise name conflict rules for the compiler (RFC: Packages as (optional) namespaces rfcs#3243 (comment))
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
Metadata
Metadata
Assignees
Labels
Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.Relevant to the crates.io team, which will review and decide on the PR/issue.