#tld #gtld #cctld #psl #no-std

no-std psl-types

Common types for the public suffix implementation crates

8 stable releases

2.0.7 Mar 24, 2021
2.0.6 Mar 22, 2021

#5 in #gtld

Download history 16/week @ 2021-03-06 423/week @ 2021-03-13 1047/week @ 2021-03-20 501/week @ 2021-03-27 624/week @ 2021-04-03 1389/week @ 2021-04-10 1288/week @ 2021-04-17

413 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

12KB
314 lines

PSL Types

Common types for the public suffix implementation crates. This was made for the psl and publicsuffix crates but it can be used by any implementation.


lib.rs:

Common types for the public suffix implementation crates

The types in this crate assume that the input is valid UTF-8 encoded domain names. If input is potentially invalid, use a higher level crate like the addr crate.

Some implentations may also assume that the domain name is in lowercase and/or may only support looking up unicode domain names.

No runtime deps