pub(super) fn new() -> Self {
        // Octocrab requires rustls to be configured.
        rustls::crypto::aws_lc_rs::default_provider()
            .install_default()
            .ok();

        let client = Arc::new(
            octocrab::Octocrab::builder()
                .add_retry_config(Self::retry_config())
                .set_connect_timeout(Some(Self::connect_timeout()))
                .set_read_timeout(Some(Self::read_timeout()))
                .build()
                .unwrap(),
        );
        Self { client }
    }
Creates a new instance of the GitHub API wrapper.
core/lib/contract_verifier/src/resolver/github/gh_api.rs