Skip to content

Tracking Issue for Packages as (optional) namespaces #13576

Open
@epage

Description

@epage

Summary

RFC: #3243
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#open-namespaces
rustc tracking issue: rust-lang/rust#122349
crates.io tracking issue: rust-lang/crates.io#8292

Allow a parent package to open its API namespace for other packages to participate

Implementation

Unresolved Issues

  • For an implicit bin in a namespaced package, should do something (e.g. warn, error) about cross-platform hazard of :: being in the name?
  • Should we allow renames like "foo::bar" = { package = "foo_bar", version = "1.0" } in Cargo.toml?
  • How precisely should this be represented in the index trie?
  • How we should name the .crate file / download URL

Future Extensions

No response

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: A tracking issue for something unstable.

    Type

    No type

    Projects

    Status

    Big Projects, no backers

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions