Crate psl_types

source ·
Expand description

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.

Structs§

  • A registrable domain name
  • Information about the suffix
  • The suffix of a domain name

Enums§

Traits§

  • A list of all public suffixes