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

no-std psl-types

Common types for the public suffix implementation crates

12 stable releases

2.0.11 Aug 10, 2022
2.0.10 Dec 9, 2021
2.0.9 Nov 30, 2021
2.0.7 Mar 24, 2021

#240 in Rust patterns

Download history 39631/week @ 2022-12-02 37242/week @ 2022-12-09 35517/week @ 2022-12-16 24484/week @ 2022-12-23 30027/week @ 2022-12-30 40982/week @ 2023-01-06 41454/week @ 2023-01-13 48397/week @ 2023-01-20 50740/week @ 2023-01-27 49938/week @ 2023-02-03 52169/week @ 2023-02-10 53515/week @ 2023-02-17 59632/week @ 2023-02-24 65447/week @ 2023-03-03 69998/week @ 2023-03-10 60792/week @ 2023-03-17

266,151 downloads per month
Used in 322 crates (3 directly)

MIT/Apache

12KB
338 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