pub fn package_name(target: &Path, driver: &str) -> Option<String>
The package name the registry knows, read from the target’s own version file: [package].name in Cargo.toml, [project].name in pyproject.toml.
[package].name
Cargo.toml
[project].name
pyproject.toml