huiz

Crates.iohuiz
lib.rshuiz
version0.1.0
sourcesrc
created_at2023-08-20 19:47:07.738101
updated_at2023-08-20 19:47:07.738101
descriptionHuiz is a lightweight Rust crate featuring WHOIS client
homepagehttps://github.com/namecare/huiz
repositoryhttps://github.com/namecare/huiz
max_upload_size
id949535
size22,136
tikhop (tikhop)

documentation

https://docs.rs/huiz

README

Huiz

Whois implementation in rust
Crates.io version docs.rs docs Download

Huiz is a lightweight Rust crate featuring WHOIS client that is inspired by rfc1036/whois and FreeBSD/whoid.

Install

# Cargo.toml
[dependencies]
huiz = "0.1.0"

Quickstart

NOTE: these examples are for the 0.1 release.

use huiz::whois;

fn main() {
    let domain = "example.com";
    let r = whois(domain).unwrap();
    println!("{:?}", r)
}

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 32

cargo fmt