This commit moves some essential types to lib and fixes one clippy
warning: https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
This commit is contained in:
B. Blechschmidt 2023-03-25 13:07:39 +01:00
parent e6e6c70006
commit 20dc6f78f1
7 changed files with 57 additions and 57 deletions

View file

@ -12,8 +12,7 @@ mod tests {
use nix::unistd::Pid;
use serial_test::serial;
use tun2proxy::tun2proxy::Options;
use tun2proxy::{main_entry, Proxy, ProxyType};
use tun2proxy::{main_entry, Options, Proxy, ProxyType};
static TUN_TEST_DEVICE: &str = "tun0";
static ALL_ROUTES: [&str; 4] = ["0.0.0.0/1", "128.0.0.0/1", "::/1", "8000::/1"];