17 lines
391 B
Rust
17 lines
391 B
Rust
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);
|
|
}
|