cargo::util::toml

Function default_readme_from_package_root

Source
fn default_readme_from_package_root(package_root: &Path) -> Option<String>
Expand description

Checks if a file with any of the default README file names exists in the package root. If so, returns a String representing that name.