Don't use path dependencies in examples

This commit updates all examples to not use `path` dependencies but
rather use versioned dependencies like would typically be found in the
wild. This should hopefully make the examples more copy-pastable and
less alien to onlookers!

The development of the examples remains the same where they continue to
use the `wasm-bindgen`, `js-sys`, `web-sys`, etc from in-tree. The
workspace-level `[patch]` section ensures that they use the in-tree
versions instead of the crates.io versions.
This commit is contained in:
Alex Crichton
2018-11-07 11:14:25 -08:00
parent ac6a230d83
commit 56400c3738
23 changed files with 60 additions and 66 deletions

View File

@ -7,4 +7,4 @@ authors = ["The wasm-bindgen Developers"]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = { path = "../.." }
wasm-bindgen = "0.2.27"