tranco-rs
Rust library for the Tranco domain ranking.
See the example for how to use it.
use Client;
async
Rust library for the Tranco domain ranking.
See the example for how to use it.
use tranco::Client;
#[tokio::main]
async fn main() {
let client = Client::new();
let ranks = client.ranks("google.com").await;
dbg!(&ranks);
let list = client.list("LJL44").await;
dbg!(&list);
let list2 = client.list_date(2025, 04, 07, Some(false)).await;
dbg!(&list2);
let downloaded_list = client.download_list(&list2.unwrap()).await;
dbg!(&downloaded_list);
}