From 85e1d386f638e39057b4f062aeaa68b94f6beae7 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 4 Nov 2023 10:28:33 -0700 Subject: [PATCH] fixup examples for trust-dns -> hickory change --- libunbound/examples/resolve.rs | 4 ++-- libunbound/examples/resolve_async.rs | 4 ++-- libunbound/examples/secure.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libunbound/examples/resolve.rs b/libunbound/examples/resolve.rs index 66deede..4b5bed7 100644 --- a/libunbound/examples/resolve.rs +++ b/libunbound/examples/resolve.rs @@ -1,6 +1,6 @@ use libunbound::*; -use trust_dns_proto::rr::record_type::RecordType; -use trust_dns_proto::rr::DNSClass; +use hickory_proto::rr::record_type::RecordType; +use hickory_proto::rr::DNSClass; fn main() { let ctx = Context::new().expect("Context to be created"); diff --git a/libunbound/examples/resolve_async.rs b/libunbound/examples/resolve_async.rs index cc11721..e0f1478 100644 --- a/libunbound/examples/resolve_async.rs +++ b/libunbound/examples/resolve_async.rs @@ -1,6 +1,6 @@ use libunbound::*; -use trust_dns_proto::rr::record_type::RecordType; -use trust_dns_proto::rr::DNSClass; +use hickory_proto::rr::record_type::RecordType; +use hickory_proto::rr::DNSClass; #[tokio::main] async fn main() { diff --git a/libunbound/examples/secure.rs b/libunbound/examples/secure.rs index 9b1e52e..67ef54d 100644 --- a/libunbound/examples/secure.rs +++ b/libunbound/examples/secure.rs @@ -1,6 +1,6 @@ use libunbound::*; -use trust_dns_proto::rr::record_type::RecordType; -use trust_dns_proto::rr::DNSClass; +use hickory_proto::rr::record_type::RecordType; +use hickory_proto::rr::DNSClass; fn main() { let ctx = Context::new().expect("Context to be created");