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

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

#640 in Rust patterns

Download history 121440/week @ 2023-12-04 105250/week @ 2023-12-11 89660/week @ 2023-12-18 38835/week @ 2023-12-25 83179/week @ 2024-01-01 99421/week @ 2024-01-08 106820/week @ 2024-01-15 104998/week @ 2024-01-22 107641/week @ 2024-01-29 101870/week @ 2024-02-05 114792/week @ 2024-02-12 116461/week @ 2024-02-19 130149/week @ 2024-02-26 135357/week @ 2024-03-04 120262/week @ 2024-03-11 123847/week @ 2024-03-18

514,216 downloads per month
Used in 153 crates (3 directly)

MIT/Apache

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.

No runtime deps