Skip to main content

version_matches_constraint

Function version_matches_constraint 

Source
pub fn version_matches_constraint(version: &str, constraint: &str) -> bool
Expand description

Checks if a version satisfies a Dart version constraint.

Supports: ^, >=, >, <=, <, exact, any, and space-separated AND constraints.