use sledgehammer-bindgen 0.1.2

This commit is contained in:
Evan Almloff committed 2022-12-08 07:41:04 -06:00
1 parent 99a4a9d45b
commit 7ef180409d
2 files changed
+3 -6

No files matched your search

+3 -3
View File
@@ -17,10 +17,10 @@ keywords = ["dom", "ui", "gui", "react", "wasm"]
wasm-bindgen = { version = "0.2.79", optional = true }
js-sys = { version = "0.3.56", optional = true }
web-sys = { version = "0.3.56", optional = true, features = ["Element", "Node"] }
sledgehammer_bindgen = { version = "0.1.1" }
sledgehammer_utils = { version = "0.1.0" }
sledgehammer_bindgen = { version = "0.1.2", optional = true }
sledgehammer_utils = { version = "0.1.0", optional = true }
[features]
default = []
web = ["wasm-bindgen", "js-sys", "web-sys"]
sledgehammer = ["wasm-bindgen", "js-sys", "web-sys"]
sledgehammer = ["wasm-bindgen", "js-sys", "web-sys", "sledgehammer_bindgen", "sledgehammer_utils"]
-3
View File
@@ -17,9 +17,6 @@ extern "C" {
#[wasm_bindgen(method)]
pub fn MountToRoot(this: &Interpreter);
#[wasm_bindgen(method)]
pub fn AppendChildren(this: &Interpreter, m: u32, id: u32);
#[wasm_bindgen(method)]
pub fn AssignId(this: &Interpreter, path: &[u8], id: u32);