File: Cargo.toml.orig

package info (click to toggle)
rust-publicsuffix 2.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 388 kB
  • sloc: makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,294 bytes parent folder | download | duplicates (2)
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
42
[package]
name = "publicsuffix"
description = "Extract root domain and suffix from a domain name"
version = "2.2.3"
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.12.3", features = ["inline-more"], optional = true }
idna = { version = "0.3", optional = true }
unicase = { version = "2.6.0", default-features = false, optional = true }

[dev-dependencies]
lazy_static = "1.4.0"
rspec = "1.0.0"

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