#tld #psl #gtld #cctld #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

#628 in Network programming

Download history 92961/week @ 2024-12-21 135136/week @ 2024-12-28 290501/week @ 2025-01-04 299686/week @ 2025-01-11 257827/week @ 2025-01-18 297081/week @ 2025-01-25 297884/week @ 2025-02-01 312550/week @ 2025-02-08 296064/week @ 2025-02-15 351188/week @ 2025-02-22 353820/week @ 2025-03-01 358458/week @ 2025-03-08 334479/week @ 2025-03-15 332579/week @ 2025-03-22 317511/week @ 2025-03-29 279018/week @ 2025-04-05

1,320,907 downloads per month
Used in 230 crates (4 directly)

MIT/Apache

13KB
338 lines

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.


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.

No runtime deps