google_dns_rs/lib.rs
1//! # google-dns-rs
2//! google-dns-rs is a third party Google DNS client for rust.
3//!
4//! ```no_run
5//! use google_dns_rs::api::{Dns, DoH, Result};
6//! async fn github_dns_records() -> Result<Dns> {
7//! DoH::new("github.com".to_string())
8//! // .set_type(2) // NS record type
9//! // .set_cd(true) // disable or enable DNSSEC check
10//! // .set_ct("application/x-javascript".to_string()) // content type
11//! // .set_do(true) // include DNSSEC recods
12//! .resolve()
13//! .await
14//! }
15//! ```
16
17pub mod api;
18pub mod error;