Skip to content

Commit

Permalink
fixup examples for trust-dns -> hickory change
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Nov 4, 2023
1 parent cc250a4 commit 85e1d38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions libunbound/examples/resolve.rs
Original file line number Diff line number Diff line change
@@ -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");
Expand Down
4 changes: 2 additions & 2 deletions libunbound/examples/resolve_async.rs
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions libunbound/examples/secure.rs
Original file line number Diff line number Diff line change
@@ -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");
Expand Down

0 comments on commit 85e1d38

Please sign in to comment.