psl2 0.1.2

A modern alternative to the psl crate: Mozilla's Public Suffix List with built-in IDNA, fast builds, no_std support, and a clean API.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.86"
name = "psl2"
version = "0.1.2"
build = false
include = [
    "src/**/*.rs",
    "src/trie_nodes.bin",
    "src/trie_edges.bin",
    "src/trie_labels.txt",
    "src/psl_version.txt",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern alternative to the psl crate: Mozilla's Public Suffix List with built-in IDNA, fast builds, no_std support, and a clean API."
homepage = "https://github.com/KarpelesLab/psl2"
readme = "README.md"
keywords = [
    "psl",
    "public-suffix",
    "domain",
    "tld",
    "cookie",
]
categories = [
    "web-programming",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KarpelesLab/psl2"

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

[features]
alloc = ["idna?/alloc"]
default = [
    "std",
    "idna",
]
idna = [
    "dep:idna",
    "alloc",
]
std = [
    "alloc",
    "idna?/std",
]

[lib]
name = "psl2"
path = "src/lib.rs"

[dependencies.idna]
version = "1.1"
features = ["compiled_data"]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false