remove use of time in recursor and client
This commit is contained in:
parent
1a3c3466f1
commit
c551ebb45a
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1835,7 +1835,6 @@ dependencies = [
|
||||
"rustls",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"time",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
@ -1938,7 +1937,6 @@ dependencies = [
|
||||
"parking_lot",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"time",
|
||||
"tokio",
|
||||
"toml",
|
||||
"tracing",
|
||||
|
@ -82,7 +82,6 @@ ring = { workspace = true, optional = true, features = ["std"]}
|
||||
rustls = { workspace = true, optional = true }
|
||||
serde = { workspace = true, features = ["derive"], optional = true }
|
||||
thiserror.workspace = true
|
||||
time.workspace = true
|
||||
tracing.workspace = true
|
||||
tokio = { workspace = true, features = ["rt"] }
|
||||
trust-dns-proto = { workspace = true, features = ["text-parsing"] }
|
||||
|
@ -152,8 +152,6 @@
|
||||
//! use std::net::Ipv4Addr;
|
||||
//! use std::str::FromStr;
|
||||
//!
|
||||
//! use time::Duration;
|
||||
//!
|
||||
//! # #[cfg(feature = "openssl")]
|
||||
//! use openssl::rsa::Rsa;
|
||||
//! use trust_dns_client::client::{Client, SyncClient};
|
||||
@ -202,7 +200,7 @@
|
||||
//! // Now we can send updates... let's create a new Record
|
||||
//! let mut record = Record::with(Name::from_str("new.example.com").unwrap(),
|
||||
//! RecordType::A,
|
||||
//! Duration::minutes(5).whole_seconds() as u32);
|
||||
//! 300);
|
||||
//! record.set_data(Some(RData::A(A::new(100, 10, 100, 10))));
|
||||
//!
|
||||
//! // the server must be authoritative for this zone
|
||||
|
@ -84,7 +84,6 @@ lru-cache.workspace = true
|
||||
parking_lot.workspace = true
|
||||
serde = { workspace = true, features = ["derive"], optional = true }
|
||||
thiserror.workspace = true
|
||||
time.workspace = true
|
||||
tracing.workspace = true
|
||||
tokio = { workspace = true, features = ["net"] }
|
||||
toml.workspace = true
|
||||
|
Loading…
Reference in New Issue
Block a user