# 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 = "2024"
rust-version = "1.95"
name = "adbyss_psl"
version = "0.24.0"
authors = ["Josh Stoik <josh@blobfolio.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal Public Suffix List hostname validator."
readme = "README.md"
keywords = [
    "hostname",
    "validation",
    "publicsuffix",
    "idna",
    "punycode",
]
license = "WTFPL"
repository = "https://github.com/Blobfolio/adbyss"

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
features = ["serde"]
default-target = "x86_64-unknown-linux-gnu"
targets = [
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
]

[features]
default = []
serde = ["dep:serde_core"]
sqlx = ["dep:sqlx"]

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

[[bench]]
name = "psl_email"
path = "benches/psl_email.rs"
harness = false

[[bench]]
name = "psl_parse"
path = "benches/psl_parse.rs"
harness = false

[dependencies.idna]
version = "1.0.0"

[dependencies.serde_core]
version = "1.0.*"
optional = true
default-features = false

[dependencies.sqlx]
version = "0.9.0"
optional = true
default-features = false

[dependencies.trimothy]
version = "0.9.*"

[dev-dependencies.brunch]
version = "0.11.*"

[dev-dependencies.serde_core]
version = "1.0.*"

[dev-dependencies.serde_json]
version = "1.0.*"

[build-dependencies.idna]
version = "1.0.0"

[build-dependencies.serde_json]
version = "1.0.100"
