diff --git a/src/main.rs b/src/main.rs index f9136157..0d8748cc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -211,10 +211,7 @@ async fn entry() -> Result<()> { // TODO: work out which of these to do based on `opts.name` // TODO: support git-based fetches (whole repo name rather than just crate name) let manifest = match opts.manifest_path.clone() { - Some(manifest_path) => { - debug!("Reading manifest: {}", manifest_path.display()); - load_manifest_path(manifest_path.join("Cargo.toml"))? - } + Some(manifest_path) => load_manifest_path(manifest_path.join("Cargo.toml"))?, None => fetch_crate_cratesio(&opts.name, &opts.version).await?, };