Start move to Tokio

This commit is contained in:
Aram 🍐 2021-10-13 19:39:17 -04:00
parent f2e6ec1e3f
commit 7693666855
7 changed files with 840 additions and 508 deletions

View file

@ -6,7 +6,7 @@ use boringtun::crypto::{X25519PublicKey, X25519SecretKey};
use clap::{App, Arg};
#[derive(Clone, Debug)]
pub(crate) struct Config {
pub struct Config {
pub(crate) source_addr: SocketAddr,
pub(crate) dest_addr: SocketAddr,
pub(crate) private_key: Arc<X25519SecretKey>,