aboutsummaryrefslogtreecommitdiff
path: root/client/src/main.rs
blob: ab051781107f9bc4d25188ff04bb731ae31d975d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use anyhow::Result;
use client::Client;
use window::WindowState;
use winit::event_loop::EventLoop;

pub mod client;
pub mod window;

fn main() -> Result<()> {
    env_logger::init_from_env("LOG");

    Client::new()?;

    let evloop = EventLoop::new()?;
    evloop.run_app(&mut WindowState::new())?;

    Ok(())
}