Skip to content

Commit

Permalink
Merge pull request #9 from epage/unresolved
Browse files Browse the repository at this point in the history
Update from recent discussions
  • Loading branch information
Manishearth authored Nov 13, 2023
2 parents d9a3c90 + 7d77485 commit 75dd867
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions text/0000-packages-as-optional-namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,17 @@ Python has a similar coupling of top-level namespaces and modules with the files

# 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?
- 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?
Deferred to tracking issue to be resolved pre-stabilization:
- How exactly should the Cargo.toml `lib.name` key work in this world, and how does that integrate with `--extern` and `-L` and sysroots?
- 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

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.

# Future possibilities

Expand Down

0 comments on commit 75dd867

Please sign in to comment.