joecalsend/src/main.rs
2025-07-04 15:15:52 -07:00

16 lines
407 B
Rust

use joecalsend::{Client, models::device::DeviceInfo};
use tokio::io;
#[tokio::main]
async fn main() -> io::Result<()> {
let device = DeviceInfo::default();
dbg!(&device);
let client = Client::with_config(device, 53317, "/home/ardent/joecalsend".into())
.await
.unwrap();
let (h1, h2, h3) = client.start().await.unwrap();
let _ = tokio::join!(h1, h2, h3);
Ok(())
}