write ncpf and netcatpf - code cleanup
This commit is contained in:
parent
2ea8a01617
commit
d8ca1bbb90
|
@ -1,9 +1,9 @@
|
|||
use std::error::Error;
|
||||
use std::io::{stdin, Write};
|
||||
use std::io::{Write};
|
||||
use std::net::{IpAddr, SocketAddr};
|
||||
use clap::{Parser};
|
||||
use tokio::io::AsyncReadExt;
|
||||
use tokio::net::{TcpListener, TcpSocket};
|
||||
use tokio::net::{TcpSocket};
|
||||
use tokio::select;
|
||||
use libepf::ca_pool::load_ca_pool;
|
||||
use libepf::handshake_stream::{ClientAuthentication, EpfClientHandshaker, EpfClientUpgradable, EpfStreamOps};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::error::Error;
|
||||
use std::fs;
|
||||
use std::io::{stdin, Write};
|
||||
use std::io::{Write};
|
||||
use std::net::{IpAddr, SocketAddr};
|
||||
use std::path::PathBuf;
|
||||
use clap::{Parser};
|
||||
|
@ -8,7 +8,7 @@ use tokio::io::AsyncReadExt;
|
|||
use tokio::net::TcpListener;
|
||||
use tokio::select;
|
||||
use libepf::ca_pool::load_ca_pool;
|
||||
use libepf::handshake_stream::{ClientAuthentication, EpfServerHandshaker, EpfServerUpgradable, EpfStreamOps};
|
||||
use libepf::handshake_stream::{EpfServerHandshaker, EpfServerUpgradable, EpfStreamOps};
|
||||
use libepf::pki::{EPFCertificate, EpfPkiSerializable, EpfPrivateKey};
|
||||
|
||||
#[derive(Parser)]
|
||||
|
|
Loading…
Reference in New Issue