Skip to content

Commit

Permalink
optimize the import on the main module
Browse files Browse the repository at this point in the history
  • Loading branch information
muathendirangu committed Dec 4, 2023
1 parent 36d166c commit a80ca12
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
use std::net::UdpSocket;

pub mod utils;
pub mod buffer;
pub mod dns;

use std::net::UdpSocket;

use utils::types::Result;
use buffer::buffer::*;
use dns::dns_header::*;
use dns::dns_packet::*;
use buffer::buffer::BytePacketBuffer;
use dns::dns_header::ResultCode;
use dns::dns_packet::DnsPacket;
use dns::dns_lookup::recursive_lookup;


Expand Down

0 comments on commit a80ca12

Please sign in to comment.