An open API service indexing awesome lists of open source software.

https://github.com/koute/parcel-plugin-cargo-web


https://github.com/koute/parcel-plugin-cargo-web

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

[![Build Status](https://api.travis-ci.org/koute/parcel-plugin-cargo-web.svg)](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.