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 |
#253 in Rust patterns
1,200,873 downloads per month
Used in 197 crates
(4 directly)
13KB
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.