1
0
Fork 0
trinitrix/src/main.rs

22 lines
471 B
Rust
Raw Normal View History

2023-06-14 21:49:20 +00:00
mod ui;
mod accounts;
mod app;
2023-06-14 21:49:20 +00:00
use matrix_sdk::ruma::exports::serde_json;
use tokio::time::{sleep, Duration};
2023-06-14 21:49:20 +00:00
#[tokio::main]
async fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt::init();
let mut app = app::App::new();
let client = app.account_manager.add("https://nerdcult.net", "test", "abcd1234").await?;
app.client = Some(client);
// let client = app.account_manager.login(0).await?;
// app.client = Some(client);
2023-06-14 21:49:20 +00:00
Ok(())
}