Skip to main content

updater_config_with

Function updater_config_with 

Source
pub fn updater_config_with(github_token: Option<String>) -> UpdaterConfig
Expand description

Pure core of updater_config, testable without env mutation (which is unsafe under this crate’s unsafe_code = "forbid"). Always enables the gh auth token fallback for the private release repo, and uses an explicit non-empty token when provided.