Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lecepin/rust-wasm-recipes
https://github.com/lecepin/rust-wasm-recipes
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lecepin/rust-wasm-recipes
- Owner: lecepin
- Created: 2022-06-24T03:01:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-04T05:20:51.000Z (over 2 years ago)
- Last Synced: 2024-04-16T05:14:36.753Z (7 months ago)
- Language: Rust
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
尝试把一些日常的 JS 用法用 Rust WebAssembly 实现。
统一通过 `wasm-pack build --target web` 构建。
> Rust 生产力太低了。。。
![](logo.jpg)
---
- [x] [1.简单调用一个add](./1.简单调用一个add)
- [ ] [2.js传递文件到rust](./2.js传递文件到rust)
- [ ] [3.rust请求](./3.rust请求)
- [ ] [4.rust返回json给js](./4.rust返回json给js)
- [ ] [5.返回js的常用类型](./5.返回js的常用类型)
- [ ] [6.rust的错误处理](./6.rust的错误处理)
- [x] [7.rust自执行Dom操作](./7.rust自执行Dom操作)
- [x] [8.rust自执行定时器&闭包计数&jsArray](./8.rust自执行定时器&闭包计数&jsArray)
- [ ] 9.rust 异步与js Promise
- [ ] 10.rust 消费 js 模块