passroster-rust-utils

📂 Demo

During the hackathon we discovered a great tool!


https://issuu.com/librariesofhope3/docs/stories\_of\_the\_world\_a52121e42ec6f5


We got some data here ...

wasm-pack-template

A template for kick starting a Rust and WebAssembly project using wasm-pack.

Build Status

Tutorial | Chat

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

📚 Read this template tutorial! 📚

This template is designed for compiling Rust libraries into WebAssembly and publishing the resulting package to NPM.

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Usage

🐑 Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

🔋 Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.
  • console_error_panic_hook for logging panic messages to the developer console.
  • wee_alloc, an allocator optimized for small code size.
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you

License

Licensed under either of

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.

This content is a preview from an external site.
 

Edited (version 18)

18.04.2024 09:31 ~ loleg

Edited (version 17)

29.03.2023 13:11 ~ loleg

Here is me documenting my project

02.12.2022 08:20 ~ loleg

Edited (version 9)

02.12.2022 08:19 ~ loleg

Project

Edited (version 6)

02.12.2022 08:18 ~ loleg

Repository updated

02.12.2022 08:17 ~ loleg

First post View challenge

02.12.2022 08:17 ~ loleg

update (@iamdanthedev)

Challenge

 
Contributed 1 year ago by loleg for Sandbox
All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.