tld_download

Crates.iotld_download
lib.rstld_download
version0.1.3
sourcesrc
created_at2022-01-27 15:26:33.03165
updated_at2024-05-16 03:35:25.285503
descriptionDownload public & private gTLD & ccTLD
homepagehttps://github.com/marirs/tld-download-rs
repositoryhttps://github.com/marirs/tld-download-rs
max_upload_size
id522567
size134,303
SG (marirs)

documentation

README

TLD Download

Linux Arm7 Linux x86_64 macOS

Downloads tld suffixes to a file

Requirements

  • Rust 1.75+

Usage

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

Commit count: 15

cargo fmt