diff options
Diffstat (limited to 'client/src/main.rs')
-rw-r--r-- | client/src/main.rs | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/client/src/main.rs b/client/src/main.rs index e7a11a9..02b9055 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -1,3 +1,20 @@ -fn main() { - println!("Hello, world!"); +use anyhow::Result; +use client::Client; +use window::WindowState; +use winit::event_loop::EventLoop; + +pub mod window; +pub mod client; + +fn main() -> Result<()> { + env_logger::init_from_env("LOG"); + + Client::new()?; + + + // let evloop = EventLoop::new()?; + // evloop.run_app(&mut WindowState::new())?; + + + Ok(()) } |