Files
oott/src/main.rs
T

19 lines
412 B
Rust
Raw Normal View History

use log::{debug, info};
mod config;
2026-01-13 07:57:47 -05:00
mod device_finders;
2026-01-13 15:48:17 -05:00
#[tokio::main]
async fn main() {
env_logger::init();
info!("Starting up oott");
2026-01-13 07:57:47 -05:00
let devices = device_finders::arp::find("wlp1s0").await;
info!("Done with ARP probes");
info!("Found {} online devices", devices.iter().count());
2026-01-13 07:57:47 -05:00
for device in devices.iter() {
info!("Device found {}", device);
2026-01-13 07:57:47 -05:00
}
info!("Exiting");
2026-01-13 07:57:47 -05:00
}