#suffix #tld

tld_download

Download public & private gTLD & ccTLD

5 releases

0.1.2 Mar 23, 2022
0.1.1 Jan 28, 2022
0.1.0 Jan 28, 2022
0.0.2 Jan 27, 2022
0.0.1 Jan 27, 2022

#12 in #tld

Download history 3/week @ 2023-12-31 20/week @ 2024-02-18 20/week @ 2024-02-25 9/week @ 2024-03-03 16/week @ 2024-03-10 5/week @ 2024-03-17

53 downloads per month
Used in ioc_extract

Custom license

92KB
95 lines

TLD Download

Linux Arm7 Linux x86_64 macOS

Downloads tld suffixes to a file

Requirements

  • Rust 1.56+

Usage

You can include this in your Cargo.toml file:

[dependencies]
tld_download = "0.1.1"

If you want to use it with the inbuilt public suffix db; then:

[dependencies]
tld_download = { version = "0.1.1", features = ["with-db"] }

and then

use tld_download::from_db;

fn main () {
    let db = from_db();
    assert!(!db.is_empty());
}

License: MIT

Dependencies

~8–25MB
~426K SLoC