farmap 0.7.1

A library for working with Farcaster label datasets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::import::new_github_importer_with_specific_status_url_and_base_url;
use super::GithubFetcher;
use url::Url;

#[deprecated(note = "use the default implementation of GithubFetcher instead")]
pub fn new_github_importer() -> GithubFetcher {
    let base_url = Url::parse("https://raw.githubusercontent.com/warpcast/labels/").unwrap();
    let status_check_url =
        Url::parse("https://api.github.com/repos/warpcast/labels/commits").unwrap();

    new_github_importer_with_specific_status_url_and_base_url(base_url, status_check_url)
}