Function cargo_edit_9::get_manifest_from_url
source · pub fn get_manifest_from_url(url: &str) -> CargoResult<Option<Manifest>>
Expand description
Load Cargo.toml from github repo Cargo.toml
This will fail when:
- there is no Internet connection,
- Cargo.toml is not present in the root of the master branch,
- the response from the server is an error or in an incorrect format.