tld 2.37.0

Top Level domain static hash map, tld list is obtained from of iana.org
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# tld [![Rust]https://github.com/pagescrape/tld.rs/actions/workflows/rust.yml/badge.svg]https://github.com/pagescrape/tld.rs/actions/workflows/rust.yml

Top Level domain static hash map, tld list is obtained from of iana.org

```rust,no_run
extern crate tld;

assert!(tld::exist("com"));
assert!(tld::exist("io"));
assert!(tld::exist("lt"));
assert!(tld::exist("ru"));
assert!(tld::exist("de"));

assert!(!tld::exist(""));
assert!(!tld::exist("moc"));

assert!(tld::TLD.len() > 1400);
```