diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-08 13:32:01 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-08 13:32:01 +0100 |
commit | ac5020c972739d418eabbc2809ccb162890934dc (patch) | |
tree | bcd7155ee69a3d39254dbac1f3a3544dfc915782 /client/src/main.rs | |
parent | b2145131ccde0a33b9840ac04c8b7d79e733ae12 (diff) | |
download | twclient-ac5020c972739d418eabbc2809ccb162890934dc.tar twclient-ac5020c972739d418eabbc2809ccb162890934dc.tar.bz2 twclient-ac5020c972739d418eabbc2809ccb162890934dc.tar.zst |
a
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(()) } |