#![doc = include_str!("../README.md")]
mod async_tokio;
mod config;
pub use async_tokio::AsyncTunTransport;
pub use config::Config;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error(transparent)]
IoError(#[from] std::io::Error),
#[error("only root user can create a TUN interface")]
RootUserRequired,
}