[][src]Function update_notifier::check_version

pub fn check_version(
    name: &str,
    current_version: &str,
    interval: Duration
) -> Result<(), Box<dyn Error>>

Validates current version of the crate Takes the current name and version Takes a std::time::Duration to determine the interval So that it does not notify the user every run Prints directly to stdout (Will probably change to be more asynchrounos)