-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
41 lines (33 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[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