pub fn check_spec_version(manifest: Option<&Manifest>) -> Result<()>Expand description
Reject a spec or spec.version with the wrong type, a version that
isn’t semantic versioning, or a newer major version than this library
supports (Section 11.2). A missing version is read as 1.x (Section 11.3).