| Crates.io | tld_download |
| lib.rs | tld_download |
| version | 0.1.4 |
| created_at | 2022-01-27 15:26:33.03165+00 |
| updated_at | 2025-07-09 05:21:47.171392+00 |
| 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 | 142,528 |
Downloads tld suffixes to a file
You can include this in your Cargo.toml file:
[dependencies]
tld_download = "0.1.4"
If you want to use it with the inbuilt public suffix db; then:
[dependencies]
tld_download = { version = "0.1.4", features = ["with-db"] }
and then
use tld_download::from_db;
fn main () {
let db = from_db();
assert!(!db.is_empty());
}
License: MIT