pub fn validate_package(
config: &DevKitConfig,
) -> Result<PackageConfig, PackageError>Expand description
Validate the [package] manifest metadata in isolation.
Checks that name and version are present and that version is a valid
MAJOR.MINOR.PATCH (optionally with a pre-release/build suffix, per
semver.org). Returns the parsed PackageConfig on success, or a clear
PackageError otherwise. Does not touch the filesystem or network.