-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
RFC: Nested Cargo packages #3452
Open
kpreid
wants to merge
34
commits into
rust-lang:master
Choose a base branch
from
kpreid:nested-publish
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
80b9ddf
Create 0000-nested-publish.md
kpreid 126b2b4
Clarify some terms and discuss workspaces and normalization
kpreid ef9a157
Discuss trait coherence relaxation
kpreid a1d4425
Reposition footnote-links
kpreid 35184e0
Add PR number
kpreid c4dd372
Clarify `path` behavior and existing dev-dependency behavior
kpreid e71a953
Avoid "lockstep" and discuss a version duplication hazard
kpreid 3da9eeb
Add Definitions section.
kpreid 7f9c09f
Discuss more alternatives for marking packages; define "nested package"
kpreid 130ceb0
Clarify “is private”
kpreid 42bdb61
Require dependencies to be explicitly nested.
kpreid 25d86b1
More motivation and drawbacks.
kpreid 743d531
Define “nested publishing”.
kpreid 34a19dc
Discuss postponed RFC 2224 as prior art.
kpreid b75a519
Mention vendoring.
kpreid d7e8dea
Discuss “subcrate dependencies” in prior art.
kpreid 6670428
Discuss “Inline crates” in prior art.
kpreid da547de
Rewrite reference-level explanation to focus more on effects than cha…
kpreid b4923ac
Expand alternatives and move inline-crates discussion there.
kpreid 68ad634
Move license and version ideas.
kpreid 33d1c6e
Specify that package names must be unique.
kpreid 680709c
Typo
kpreid 2af4921
Mention feature flattening.
kpreid 0deba10
Discuss workspace inheritance.
kpreid b999976
Move `dependencies.*.publish = false` to future possibilities.
kpreid 3edb308
Replace `package.publish = "nested"` with `package.publish.nested = t…
kpreid dd90f20
Refine explanation of `package.publish` being a table.
kpreid 07b058d
Rephrase name conflict rule to avoid "transitive closure".
kpreid 2c220ee
Always error on `workspace.dependencies.*.publish`.
kpreid 4bc77cb
Rewrite feature flattening section.
kpreid e470314
Rationale for name uniqueness.
kpreid 2a5474e
Polishing.
kpreid db9e7fa
Update comparison with packages-as-namespaces given that that RFC has…
kpreid 4817861
Explicitly state that nested names are non-unique *outside* of the pa…
kpreid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Discuss trait coherence relaxation
- Loading branch information
commit ef9a157cfbc55444bf5d3daa7d920f9c2c4ac6cf
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor question: If a Git repository contains a package with nested packages, can the other package depends on any of those nested packages as a Git dependency? Currently Git dependency searches packages whose name matches recursively inside the repository.