Skip to content

Commit 0bf4ac7

Browse files
committed
use mogwai implementation on crates.io
1 parent 48c5ae2 commit 0bf4ac7

File tree

8 files changed

+517
-414
lines changed

8 files changed

+517
-414
lines changed

frameworks/keyed/mogwai/Cargo.toml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
authors = ["Markus Kohlhase"]
2+
authors = ["Markus Kohlhase", "Schell Scivally"]
33
edition = "2021"
44
name = "js-framework-benchmark-mogwai"
55
version = "1.0.0"
@@ -8,12 +8,13 @@ version = "1.0.0"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
getrandom = { version = "0.2.8", features = ["js"] }
12-
mogwai-dom = "0.1.4"
13-
rand = { version = "0.8.5", features = ["small_rng"] }
11+
console_error_panic_hook = { version = "0.1.6" }
12+
console_log = "^0.1"
13+
# the application itself is part of the mogwai repo, as mogwai uses it as its own benchmark...
14+
mogwai-js-framework-benchmark = { version = "^0.1", features = ["keyed"] }
15+
mogwai-dom = "0.2.2"
1416
wasm-bindgen = "0.2.83"
1517
wasm-bindgen-futures = "0.4.33"
16-
web-sys = { version = "0.3.60", features = ["Window", "Document"] }
1718

1819
[profile.release]
1920
codegen-units = 1

frameworks/keyed/mogwai/bundled-dist/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
</head>
1111
<body>
1212
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
13-
<div id='main'></div>
1413
<script type="module">
1514
import init from './js-framework-benchmark-mogwai.js';
1615
init('./js-framework-benchmark-mogwai_bg.wasm');

0 commit comments

Comments
 (0)