Skip to content

Commit 4f8c721

Browse files
committed
add rui as a dependency
1 parent afc5316 commit 4f8c721

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

minimal_wasm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ crate-type = ["cdylib"]
1111
[dependencies]
1212
wasm-bindgen = "0.2"
1313
console_error_panic_hook = "0.1"
14+
rui = { path = ".." }
1415

1516
[dependencies.web-sys]
1617
version = "0.3"

minimal_wasm/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
use wasm_bindgen::prelude::*;
22

3+
// Import rui but don't use it - just to see if it compiles
4+
#[allow(unused_imports)]
5+
use rui::*;
6+
37
// Import the `console.log` function from the `console` module
48
#[wasm_bindgen]
59
extern "C" {

0 commit comments

Comments
 (0)