summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/asm-paint/src/lib.rs
blob: 6c773c5fb463a4892ebb4d8ade2d7b81afe824ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod client_logger;
mod shader;
mod canvas;
mod site;
mod app;

use wasm_bindgen::prelude::*;

#[macro_use]
extern crate log;

#[wasm_bindgen(start)]
pub fn entry() {
    client_logger::init_logger();

    info!("begin running wasm application");

    let mut app = app::App::new().unwrap();
    app.run();
}