joecalsend/src/main.rs

18 lines
391 B
Rust
Raw Normal View History

2025-07-04 00:00:11 +00:00
use joecalsend::{models::device::DeviceInfo, Client};
#[tokio::main]
async fn main() {
let device = DeviceInfo::default();
dbg!(device);
let client = Client::with_config(
DeviceInfo::default(),
53317,
"/home/ardent/joecalsend".into(),
)
.await
.unwrap();
let (h1, h2, h3) = client.start().await.unwrap();
tokio::join!(h1, h2, h3);
}