publicsuffix 2.3.0

Extract root domain and suffix from a domain name
Documentation
[package]
name = "publicsuffix"
description = "Extract root domain and suffix from a domain name"
version = "2.3.0"
license = "MIT/Apache-2.0"
repository = "https://github.com/rushmorem/publicsuffix"
documentation = "https://docs.rs/publicsuffix"
readme = "README.md"
keywords = ["tld", "psl", "no_std", "tldextract", "domain"]
authors = ["rushmorem <rushmore@webenchanter.com>"]
edition = "2018"

[features]
# Punycode is enabled by default to be feature parity with the `psl` crate
# by default, making switching between the 2 work seemlessly out of the box
default = ["punycode"]

# Adds support for looking up domain names in any case
anycase = ["unicase"]

# Adds support for looking up domain names in ascii format (normalised punycode)
# see `idna::domain_to_ascii`. Since `idna` doesn't support `no_std` environments
# this feature disables `no_std`
punycode = ["idna"]

# Adds support for `std::error::Error`
std = []

[dependencies]
psl-types = "2.0.11"

# Optional dependencies
hashbrown = { version = "0.15.1", features = ["inline-more"], optional = true }
idna = { version = "1.0", optional = true }
unicase = { version = "2.6.0", default-features = false, optional = true }

[dev-dependencies]
rspec = "1.0.0"

[package.metadata.docs.rs]
all-features = true