Unified · Split
| @@ -149,9 +149,11 @@ fn present_dependencies( · 148 unmodified lines | ||
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | let no_requested_crate_will_publish = num_refused == ctx.base.crate_names.len(); |
| 152 | + let no_crate_being_published_message = "No provided crate is actually eligible for publishing."; | |
| 152 | 153 | if no_requested_crate_will_publish && !verbose { |
| 153 | 154 | bail!( |
| 154 | − "No provided crate is actually eligible for publishing. Use --verbose to see the release plan nonetheless." | |
| 155 | + "{} Use --verbose to see the release plan nonetheless.", | |
| 156 | + no_crate_being_published_message | |
| 155 | 157 | ) |
| 156 | 158 | } |
| 157 | 159 | |
| @@ -277,7 +279,7 @@ fn present_dependencies( · 119 unmodified lines | ||
| 277 | 279 | for (cause, deps_and_bumps) in affected_crates_by_cause { |
| 278 | 280 | let plural_s = (deps_and_bumps.len() != 1).then(|| "s").unwrap_or(""); |
| 279 | 281 | log::info!( |
| 280 | − "{} adjust {} manifest{} due to breaking change in '{}': {}", | |
| 282 | + "{} adjust {} manifest version{} due to breaking change in '{}': {}", | |
| 281 | 283 | will(dry_run), |
| 282 | 284 | deps_and_bumps.len(), |
| 283 | 285 | plural_s, |
| @@ -317,11 +319,11 @@ fn present_dependencies( · 33 unmodified lines | ||
| 317 | 319 | .then(|| "s") |
| 318 | 320 | .unwrap_or_default(); |
| 319 | 321 | log::info!( |
| 320 | − "Manifest{} of {} package{} {} be adjusted as its direct dependencies see a version change: {}", | |
| 322 | + "{} adjust version constraints in manifest{} of {} package{} as direct dependencies are changing: {}", | |
| 323 | + will(dry_run), | |
| 321 | 324 | plural_s, |
| 322 | 325 | crate_names_for_manifest_updates.len(), |
| 323 | 326 | plural_s, |
| 324 | − will(dry_run), | |
| 325 | 327 | crate_names_for_manifest_updates.join(", ") |
| 326 | 328 | ); |
| 327 | 329 | } |
| @@ -331,7 +333,7 @@ fn present_dependencies( · 3 unmodified lines | ||
| 331 | 333 | bail!("Aborting due to previous error(s)"); |
| 332 | 334 | } else { |
| 333 | 335 | if no_requested_crate_will_publish { |
| 334 | − bail!("No provided crate is actually eligible for publishing.") | |
| 336 | + bail!(no_crate_being_published_message) | |
| 335 | 337 | } |
| 336 | 338 | Ok(()) |
| 337 | 339 | } |