https://github.com/koute/parcel-plugin-cargo-web
https://github.com/koute/parcel-plugin-cargo-web
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/koute/parcel-plugin-cargo-web
- Owner: koute
- License: apache-2.0
- Created: 2018-01-28T14:19:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-27T23:00:12.000Z (over 7 years ago)
- Last Synced: 2025-03-18T08:48:20.163Z (about 1 year ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 48
- Watchers: 6
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
[](https://travis-ci.org/koute/parcel-plugin-cargo-web)
# A Parcel plugin for compiling Rust to WebAssembly
This is an **experimental** [Parcel] plugin for compiling [Rust] code to [WebAssembly]
through [`cargo-web`].
[Parcel]: https://parceljs.org/
[Rust]: https://www.rust-lang.org/en-US/
[WebAssembly]: http://webassembly.org/
[`cargo-web`]: https://github.com/koute/cargo-web/
## Running the example
$ npm install
$ cd example
$ npm install
$ $(npm bin)/parcel index.html
## Running the tests
$ npm install
$ npm run test
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.