Skip to content

Commit

Permalink
imports more in domain style
Browse files Browse the repository at this point in the history
  • Loading branch information
tertsdiepraam committed Nov 22, 2024
1 parent 48aa34a commit e53b3d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 6 additions & 5 deletions src/commands/notify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,12 +430,13 @@ mod tests {
use std::net::{Ipv4Addr, Ipv6Addr};
use std::str::FromStr;

use domain::{base::Name, tsig::Algorithm, utils::base64};
use domain::base::Name;
use domain::tsig::Algorithm;
use domain::utils::base64;

use crate::{
commands::{notify::TSigInfo, Command},
env::fake::FakeCmd,
};
use crate::commands::notify::TSigInfo;
use crate::commands::Command;
use crate::env::fake::FakeCmd;

use super::Notify;

Expand Down
5 changes: 1 addition & 4 deletions src/env/real.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ use std::fmt;
use std::io;
use std::path::Path;

use domain::net::client::protocol::AsyncConnect;
use domain::net::client::protocol::AsyncDgramRecv;
use domain::net::client::protocol::AsyncDgramSend;
use domain::net::client::protocol::UdpConnect;
use domain::net::client::protocol::{AsyncConnect, AsyncDgramRecv, AsyncDgramSend, UdpConnect};
use domain::resolv::stub::conf::ResolvConf;
use domain::resolv::StubResolver;

Expand Down

0 comments on commit e53b3d5

Please sign in to comment.