Skip to content

Commit

Permalink
fix: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
conblem committed Oct 27, 2020
1 parent 7ae1297 commit c07d8f4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/acme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ use sqlx::Row;
use sqlx::{Pool, Postgres};
use tokio::runtime::Handle;
use tokio::stream::StreamExt;
use tracing::Instrument;

use crate::util::{error, to_i64};
use tracing_futures::Instrument;

#[derive(Clone)]
pub struct DatabasePersist {
Expand Down
3 changes: 1 addition & 2 deletions src/cert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ use anyhow::{anyhow, Context, Result};
use sqlx::{Executor, FromRow, PgPool, Postgres};
use std::time::Duration;
use tokio::time::Interval;
use tracing::{error, info, Span};
use tracing_futures::Instrument;
use tracing::{error, info, Instrument, Span};
use uuid::Uuid;

use crate::acme::DatabasePersist;
Expand Down
3 changes: 1 addition & 2 deletions src/dns/authority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use std::net::IpAddr::V4;
use std::str::FromStr;
use std::sync::Arc;
use tracing::field::display;
use tracing::{debug, error, info, Span};
use tracing_futures::Instrument;
use tracing::{debug, error, info, Instrument, Span};
use trust_dns_client::op::LowerQuery;
use trust_dns_client::rr::{LowerName, Name};
use trust_dns_server::authority::{
Expand Down
4 changes: 2 additions & 2 deletions src/dns/handler.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use tracing::field::Empty;
use tracing::{info_span, Span};
use tracing_futures::{Instrument, Instrumented};
use tracing::instrument::Instrumented;
use tracing::{info_span, Instrument, Span};
use trust_dns_server::authority::Catalog;
use trust_dns_server::server::Request;
use trust_dns_server::server::{RequestHandler, ResponseHandler};
Expand Down
3 changes: 1 addition & 2 deletions src/dns/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ use std::future::Future;
use tokio::net::{ToSocketAddrs, UdpSocket};
use tokio::runtime::Runtime;
use tracing::field::{debug, Empty};
use tracing::{info_span, Span};
use tracing_futures::Instrument;
use tracing::{info_span, Instrument, Span};
use trust_dns_server::authority::{AuthorityObject, Catalog};
use trust_dns_server::proto::rr::Name;
use trust_dns_server::ServerFuture;
Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use sqlx::PgPool;
use std::env;
use std::str::FromStr;
use tokio::runtime::Runtime;
use tracing::{debug, info};
use tracing_futures::Instrument;
use tracing::{debug, info, Instrument};

use crate::acme::DatabasePersist;
use crate::api::Api;
Expand Down

0 comments on commit c07d8f4

Please sign in to comment.