Skip to main content

create_client

Function create_client 

Source
pub fn create_client(
    token: &str,
    cache_config: &CacheConfig,
) -> Result<(Octocrab, Option<Arc<DiskCache>>)>
Expand description

Create an authenticated GitHub client using a personal access token. Returns both the Octocrab client and an optional DiskCache handle for manual cache control.