-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.A-gitArea: anything dealing with gitArea: anything dealing with gitA-workspacesArea: workspacesArea: workspacesC-bugCategory: bugCategory: bugE-mediumExperience: MediumExperience: Medium
Description
Problem
I add a git dependency on "noise-rust-crypto" which is part of the "noise-rust" repository and cargo doesn't find it.
$ cargo update
Updating git repository `https://github.com/sopium/noise-rust`
error: failed to load source for a dependency on `noise-rust-crypto`
Caused by:
Unable to update https://github.com/sopium/noise-rust
Caused by:
Could not find `Cargo.toml` in `/home/niklas/.cargo/git/checkouts/noise-rust-6131949caf0d2152/dad7f8b/noise`
Steps
echo "noise-rust-crypto = {git = "https://github.com/sopium/noise-rust"}" >> Cargo.toml
- cargo update
Possible Solution(s)
Notes
Output of cargo version
:
$ cargo --version
cargo 1.40.0 (bc8e4c8be 2019-11-22)
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.A-gitArea: anything dealing with gitArea: anything dealing with gitA-workspacesArea: workspacesArea: workspacesC-bugCategory: bugCategory: bugE-mediumExperience: MediumExperience: Medium