Use explicit imports for log macros

This commit is contained in:
Dirkjan Ochtman 2021-12-07 11:02:29 +01:00 committed by masalachai
parent 9c694a450a
commit 34ee9de0ec
2 changed files with 1 additions and 3 deletions

View File

@ -98,9 +98,6 @@
//! Domain: eppdev.net, Available: 1 //! Domain: eppdev.net, Available: 1
//! ``` //! ```
#[macro_use]
extern crate log;
pub mod client; pub mod client;
pub mod common; pub mod common;
pub mod config; pub mod config;

View File

@ -7,6 +7,7 @@ use std::sync::Arc;
use std::{error::Error, io as stdio, net::ToSocketAddrs}; use std::{error::Error, io as stdio, net::ToSocketAddrs};
use std::{io, str, u32}; use std::{io, str, u32};
use log::{debug, info, warn};
use rustls::{Certificate, PrivateKey}; use rustls::{Certificate, PrivateKey};
use rustls::{OwnedTrustAnchor, RootCertStore}; use rustls::{OwnedTrustAnchor, RootCertStore};
use rustls_pemfile; use rustls_pemfile;