Move client code used by server code down into proto

This commit is contained in:
Dirkjan Ochtman
2023-01-10 14:18:33 +01:00
committed by Benjamin Fry
parent 0b6fefea3f
commit 532dca3bd9
94 changed files with 610 additions and 772 deletions

View File

@@ -32,7 +32,7 @@ use openssl::bn::BigNum;
use openssl::rsa::Rsa;
use tracing::{info, warn, Level};
use trust_dns_client::rr::dnssec::Algorithm;
use trust_dns_proto::rr::dnssec::Algorithm;
/// Cli struct for all options managed with clap derive api.
#[derive(Debug, Parser)]

View File

@@ -27,8 +27,8 @@ use std::path::PathBuf;
use clap::{command, ArgMatches};
use trust_dns_client::rr::dnssec::Algorithm;
use trust_dns_proto::rr::dnssec::rdata::DNSSECRData;
use trust_dns_proto::rr::dnssec::Algorithm;
use trust_dns_proto::rr::record_data::RData;
use trust_dns_proto::rr::record_type::RecordType;
use trust_dns_resolver::Resolver;

View File

@@ -28,7 +28,7 @@ use clap::Parser;
use openssl::pkey::PKey;
use tracing::info;
use trust_dns_client::rr::dnssec::{KeyPair, Public};
use trust_dns_proto::rr::dnssec::{KeyPair, Public};
/// Cli struct for all options managed with clap derive api.
#[derive(Debug, Parser)]