Initial commit

This commit is contained in:
Conrad Kramer 2023-04-10 16:49:23 -04:00
commit c1e7415871
56 changed files with 3225 additions and 0 deletions

10
burrow/Cargo.toml Normal file
View file

@ -0,0 +1,10 @@
[package]
name = "burrow"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.21", features = ["rt", "macros"] }
tun = { version = "0.1", path = "../tun" }

14
burrow/src/main.rs Normal file
View file

@ -0,0 +1,14 @@
use tokio::io::Result;
use tun::TunInterface;
async fn lol() -> Result<()> {
let iface = TunInterface::new()?;
println!("{:?}", iface.name());
Ok(())
}
#[tokio::main(flavor = "current_thread")]
async fn main() {
lol().await.unwrap();
}