cargo::ops::registry::publish

Function package_list

Source
fn package_list(
    pkgs: impl IntoIterator<Item = PackageId>,
    final_sep: &str,
) -> String
Expand description

Format a collection of packages as a list

e.g. “foo v0.1.0, bar v0.2.0, and baz v0.3.0”.

Note: the final separator (e.g. “and” in the previous example) can be chosen.