You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And that's it! The next cargo build will automatically build hello_utils and all of its own dependencies, and others can also start using the crate as well.
However, as far as I can tell, I do not understand how one would use this hello_utils sub-crate via git. The guide contains documentation on how to use a crate via git in the Adding Dependencies section of the documentation, but there doesn't seem to be any information on how to use a sub-crate from an entirely different project--only a "top-level" crate.
For instance, if I submitted a PR to the hypothetical hello_world's hello_utils sub-crate and wanted to use it immediately in my own project, how would I do that?
Perhaps this is obvious but after searching online and trying a number of things on my own, I can't seem to find a solution for this.
The text was updated successfully, but these errors were encountered:
In the Path Dependencies section of the documentation, it states:
However, as far as I can tell, I do not understand how one would use this
hello_utils
sub-crate via git. The guide contains documentation on how to use a crate via git in the Adding Dependencies section of the documentation, but there doesn't seem to be any information on how to use a sub-crate from an entirely different project--only a "top-level" crate.For instance, if I submitted a PR to the hypothetical
hello_world
'shello_utils
sub-crate and wanted to use it immediately in my own project, how would I do that?Perhaps this is obvious but after searching online and trying a number of things on my own, I can't seem to find a solution for this.
The text was updated successfully, but these errors were encountered: