calc-s2-rust
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

calc-s2-rust

ssimulacra2 计算工具,使用 Rust 编写并构建为 Wasm,使其可以运行在 Web 端。

Usage

npm package: https://www.npmjs.com/package/calc-s2-rust

Demo: https://github.com/iola1999/calc-s2-vitefe

Build

wasm-pack build --target web

Credits

ssimulacra2 的计算部分依赖 https://github.com/rust-av/ssimulacra2,但因没能关闭的 rayon feature(会导致无法直接跑在浏览器端),故暂时直接复制了代码过来修改。

TODO

Readme

Keywords

Package Sidebar

Install

npm i calc-s2-rust

Weekly Downloads

0

Version

1.0.3

License

BSD-2-Clause

Unpacked Size

108 kB

Total Files

7

Last publish

Collaborators

  • iola1999