Skip to main content

version_reaches

Function version_reaches 

Source
pub fn version_reaches(current: Option<&str>, warn_at: Option<&str>) -> bool
Expand description

Whether a CLI at current has reached the release a deprecation starts warning at.

deprecated_warn_at is how an author says not yet. Every uncertain case warns: a missing milestone means deprecated now, and a version this cannot read is a spec or build problem that should be noisy rather than silent.