Crates.io | tld_download |
lib.rs | tld_download |
version | 0.1.3 |
source | src |
created_at | 2022-01-27 15:26:33.03165 |
updated_at | 2024-05-16 03:35:25.285503 |
description | Download public & private gTLD & ccTLD |
homepage | https://github.com/marirs/tld-download-rs |
repository | https://github.com/marirs/tld-download-rs |
max_upload_size | |
id | 522567 |
size | 134,303 |
Downloads tld suffixes to a file
You can include this in your Cargo.toml file:
[dependencies]
tld_download = "0.1.3"
If you want to use it with the inbuilt public suffix db; then:
[dependencies]
tld_download = { version = "0.1.3", features = ["with-db"] }
and then
use tld_download::from_db;
fn main () {
let db = from_db();
assert!(!db.is_empty());
}
License: MIT