-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for Packages as (optional) namespaces #13576
Comments
This is a step towards rust-lang#13576
This is a step towards rust-lang#13576
feat: Add 'open-namespaces' feature ### What does this PR try to resolve? This is a step towards #13576 ### How should we test and review this PR? ### Additional information
I have created this simple package cargo-features = ["open-namespaces"]
[package]
... When I initialize a Git repository in the local package, commit files, and run cargo publish --allow-dirty I get
So for Windows these don't work yet? |
@hydroperfox
|
I've remembered of binaries, where the default binary's name is derived from the package's name, in which case it requires translating |
fix(pkgid): Allow open namespaces in PackageIdSpec's ### What does this PR try to resolve? This is a part of #13576 This unblocks #14433. We have a test to ensure you can't publish a namespaced package and the error for that is getting masked in #14433 because the package name is getting parsed as a `PackageIdSpec` which wasn't supported until this PR. ### How should we test and review this PR? ### Additional information
This is a step towards rust-lang#13576
Summary
RFC: #3243
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#my-feature
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
::
in the middle of package names, prevent publish (feat: Add 'open-namespaces' feature #13591)lib.name
puts it in a namespaceUnresolved Issues
::
being in the name?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.
The text was updated successfully, but these errors were encountered: