diff --git a/Cargo.toml b/Cargo.toml index b4a8230..962a3c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] -crate-type = ['cdylib'] +crate-type = ['cdylib', 'lib'] [dependencies] ammolite-math = { path = "../ammolite/ammolite-math" } diff --git a/src/lib.rs b/src/lib.rs index 2f0c72f..1bce72a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ use regex::Regex; use lazy_static::lazy_static; use ammolite_math::*; use wasm_bindgen::prelude::*; -use mlib::*; +use ::mlib::*; #[derive(Default)] pub struct SyncIO { @@ -489,7 +489,7 @@ impl Mapp for ExampleMapp { } fn receive_event(&mut self, event: Event) { - dbg!(event); + // dbg!(event); } fn flush_io(&mut self) -> IO {