check_cratesIO

Function check_cratesIO 

Source
pub fn check_cratesIO(version: &'static str, name: &'static str)
Expand description

Spawns a thread to check for updates on Crates.io and notify user if there is a new version available.

This function returns immediately and does not block the current thread.

ยงExamples

tiny_update_notifier::check_cratesIO(
    env!("CARGO_PKG_VERSION"),
    env!("CARGO_PKG_NAME"),
);