Function cargo_deny::match_req
source · pub fn match_req(version: &Version, req: Option<&VersionReq>) -> boolExpand description
Checks if a version satisfies the specifies the specified version requirement.
If the requirement is None then it is also satisfied.