@ -10,6 +10,8 @@ pretty_env_logger = "0.4"
gettext-rs = { version = "0.5", features = ["gettext-system"] }
gtk-macros = "0.2"
once_cell = "1.5"
serde_json = "1.0"
tokio = { version = "1.2", features = ["rt", "rt-multi-thread"] }
[dependencies.gtk]
package = "gtk4"
@ -20,3 +22,8 @@ git = "https://github.com/gtk-rs/gtk4-rs"
[dependencies.adw]
package = "libadwaita"
git = "https://gitlab.gnome.org/bilelmoussaoui/libadwaita-rs.git"
[dependencies.matrix-sdk]
git = "https://github.com/matrix-org/matrix-rust-sdk.git"
rev = "ef6e481860d9b6028efb51cfff2a6850b0ced502"
features = ["unstable-synapse-quirks", "socks", "encryption", "sled_cryptostore", "sled_state_store"]
@ -1,6 +1,7 @@
mod application;
#[rustfmt::skip]
mod config;
mod login;
mod session;
mod window;
@ -16,6 +17,12 @@ use gettextrs::*;
use gtk::gdk::Display;
use gtk::gio;
use gtk::IconTheme;
use once_cell::sync::Lazy;
use tokio;
/// The default tokio runtime to be used for async tasks
pub static RUNTIME: Lazy<tokio::runtime::Runtime> =
Lazy::new(|| tokio::runtime::Runtime::new().unwrap());
fn main() {
// Initialize logger, debug is carried out via debug!, info!, and warn!.