10 lines
241 B
Rust
10 lines
241 B
Rust
use tokio_gemini::dns::DnsClient;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
let mut client = DnsClient::init(("1.1.1.1", 53)).await.unwrap();
|
|
println!(
|
|
"{:?}",
|
|
client.query_tlsa("torproject.org", 443).await.unwrap()
|
|
);
|
|
}
|