mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-28 12:32:37 +03:00
4aa6793b9e
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" }
|