Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,190 changes: 2,372 additions & 1,818 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"serve": "node server.js",
"lint": "eslint src/**/*.{ts,vue}",
"format": "prettier --write src/**/*.{ts,vue}",
"tsc": "vue-tsc --noEmit",
"wasm": "npm run wasm:range && npm run wasm:tree && npm run wasm:solver-st && npm run wasm:solver-mt",
"wasm:range": "rustup run nightly wasm-pack build --out-dir ../../pkg/range rust/range",
"wasm:tree": "rustup run nightly wasm-pack build --out-dir ../../pkg/tree rust/tree",
Expand Down Expand Up @@ -49,6 +50,7 @@
"typescript": "^5.2.2",
"url-loader": "^4.1.1",
"vue-loader": "^17.2.2",
"vue-tsc": "^3.1.7",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
Expand Down
51 changes: 21 additions & 30 deletions rust/range/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/range/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]

[dependencies]
postflop-solver = { git = "https://github.com/b-inary/postflop-solver", default-features = false }
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2.88"

[profile.release]
codegen-units = 1
Expand Down
51 changes: 21 additions & 30 deletions rust/solver-mt/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/solver-mt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ js-sys = "0.3.64"
postflop-solver = { git = "https://github.com/b-inary/postflop-solver", features = ["custom-alloc", "rayon"], default-features = false }
rayon = { version = "1.8.0", optional = true }
spmc = "0.3.0"
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2.88"

[features]
default = ["rayon"]
Expand Down
2 changes: 1 addition & 1 deletion rust/solver-mt/workerHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ waitForMsgType(self, "wasm_bindgen_worker_init").then(async (data) => {
// OTOH, even though it can't be inlined, it should be still reasonably
// cheap since the requested file is already in cache (it was loaded by
// the main thread).
const pkg = await import("../..");
const pkg = await import("../../solver.js");
await pkg.default(data.module, data.memory);
postMessage({ type: "wasm_bindgen_worker_ready" });
pkg.wbg_rayon_start_worker(data.receiver);
Expand Down
51 changes: 21 additions & 30 deletions rust/solver-st/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/solver-st/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ path = "../solver-src/lib.rs"

[dependencies]
postflop-solver = { git = "https://github.com/b-inary/postflop-solver", features = ["custom-alloc"], default-features = false }
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2.88"

[profile.release]
codegen-units = 1
Expand Down
Loading