whois-rust 2.0.0

This is a WHOIS client library for Rust, inspired by https://github.com/hjr265/node-whois
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 = "2024"
rust-version = "1.89"
name = "whois-rust"
version = "2.0.0"
authors = ["Magic Len <len@magiclen.org>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This is a WHOIS client library for Rust, inspired by https://github.com/hjr265/node-whois"
homepage = "https://magiclen.org/whois-rust"
readme = "README.md"
keywords = ["whois"]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/magiclen/whois-rust"

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

[features]
tokio = ["dep:tokio"]

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

[dependencies.hickory-client]
version = "0.24"

[dependencies.regex]
version = "1"

[dependencies.serde_json]
version = "1.0.45"

[dependencies.tokio]
version = "1.21"
features = [
    "fs",
    "net",
    "time",
    "io-util",
]
optional = true

[dependencies.validators]
version = "0.26"
features = [
    "derive",
    "host",
]
default-features = false

[dev-dependencies.tokio]
version = "1.21"
features = [
    "macros",
    "rt",
]