Skip to content

Commit

Permalink
Activate wasm-bindgen feature of argmin for augurs-transforms-js crate
Browse files Browse the repository at this point in the history
This is required otherwise the WASM build assumes some features are
being provided in the environment, which isn't true.
  • Loading branch information
sd2k committed Dec 11, 2024
1 parent b8013fd commit 5bd0b52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ augurs-testing = { path = "crates/augurs-testing" }
augurs-core-js = { path = "js/augurs-core-js" }

anyhow = "1.0.89"
argmin= "0.10.0"
bytemuck = "1.18.0"
chrono = "0.4.38"
distrs = "0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion crates/augurs-forecaster/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = "A high-level API for the augurs forecasting library."
bench = false

[dependencies]
argmin = "0.10.0"
argmin.workspace = true
augurs-core.workspace = true
itertools.workspace = true
thiserror.workspace = true
Expand Down
1 change: 1 addition & 0 deletions js/augurs-transforms-js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ doctest = false
test = false

[dependencies]
argmin = { workspace = true, features = ["wasm-bindgen"] }
augurs-core-js.workspace = true
augurs-forecaster.workspace = true
getrandom.workspace = true
Expand Down

0 comments on commit 5bd0b52

Please sign in to comment.