Skip to content

Commit 7509ad9

Browse files
committed
flesh out the JS API more
1 parent 4199b01 commit 7509ad9

File tree

3 files changed

+413
-4
lines changed

3 files changed

+413
-4
lines changed

csgrs-wasm/Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

csgrs-wasm/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ crate-type = ["cdylib", "rlib"]
88

99
[dependencies]
1010
wasm-bindgen = "0.2"
11-
nalgebra = "0.33"
11+
nalgebra = { version = "0.33", features = ["serde-serialize"] }
1212
# Use the real path or version from crates.io; enable csgrs's wasm feature
1313
csgrs = { path = "../", version = "0.20.1", default-features = true }
1414

1515
# Optional niceties
1616
console_error_panic_hook = { version = "0.1", optional = true }
1717
wee_alloc = { version = "0.4", optional = true }
1818
js-sys = "0.3.81"
19+
serde-wasm-bindgen = "0.6.5"
1920

2021
[features]
2122
default = []

0 commit comments

Comments
 (0)