WASM
This commit is contained in:
parent
ade0c3cde4
commit
298253d6fa
31 changed files with 2899 additions and 276 deletions
13
wasm/src/lib.rs
Normal file
13
wasm/src/lib.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pub mod error;
|
||||
pub mod transport;
|
||||
pub mod client;
|
||||
pub mod crypto;
|
||||
pub mod message;
|
||||
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen(start)]
|
||||
pub fn main() {
|
||||
console_error_panic_hook::set_once();
|
||||
web_sys::console::log_1(&"mtp-wasm: module loaded".into());
|
||||
}
|
||||
Loading…
Reference in a new issue