mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-28 16:01:06 +00:00
Right now Webpack probably has the most mature support for loading wasm modules, so let's show off how to do that! Additionally this commits hello world as an example to the repository.
15 lines
426 B
TOML
15 lines
426 B
TOML
[package]
|
|
name = "hello_world"
|
|
version = "0.1.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# Here we're using a path dependency to use what's already in this repository,
|
|
# but you'd use the commented out version below if you're copying this into your
|
|
# project.
|
|
wasm-bindgen = { path = "../.." }
|
|
#wasm-bindgen = { git = "https://github.com/alexcrichton/wasm-bindgen" }
|