load_sources

Function load_sources 

Source
pub fn load_sources<P: AsRef<Path>>(path: P) -> Result<SourcesTable, Error>
Expand description

Convenience function to load sources from Cargo.toml in the given directory

Returns an error if the manifest can’t be loaded or if deserialisation fails.