check_github

Function check_github 

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

Spawns a thread to check for updates on GitHub Releases 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_github(
    env!("CARGO_PKG_VERSION"),
    env!("CARGO_PKG_NAME"),
    env!("CARGO_PKG_REPOSITORY"),
);