1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-31 17:31:06 +00:00

Merge branch 'master' into arg-names

This commit is contained in:
Caio 2019-03-14 09:30:14 -03:00
commit 59c1b2a565
41 changed files with 119 additions and 80 deletions
CHANGELOG.mdCargo.toml
crates
anyref-xform
backend
cli-support
cli
futures
js-sys
macro-support
macro
shared
test-macro
test
threads-xform
wasm-interpreter
web-sys
webidl
examples
add
canvas
char
closures
console_log
dom
duck-typed-interfaces
fetch
guide-supported-types-examples
hello_world
import_js
julia_set
paint
performance
raytrace-parallel
request-animation-frame
todomvc
wasm-in-wasm
wasm2js
webaudio
webgl
without-a-bundler
publish.rs

@ -32,6 +32,37 @@ Released YYYY-MM-DD.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
## 0.2.39
Released 2018-03-13.
### Added
* Crates can now import locally written JS snippets to get bundled into the
final output. See [RFC 6] for more details as well as the PR.
[#1295](https://github.com/rustwasm/wasm-bindgen/pull/1295)
[RFC 6]: https://github.com/rustwasm/rfcs/pull/6
### Changed
* A typo in the return value of `slice` methods on typed arrays in `js-sys` was
corrected.
[#1321](https://github.com/rustwasm/wasm-bindgen/pull/1321)
* The directory specified by `--out-dir` is now created if it doesn't exist
already.
[#1330](https://github.com/rustwasm/wasm-bindgen/pull/1330)
### Fixed
* A bug where if `nom` was in a crate graph and was compiled with the
`verbose-errors` feature has been fixed. Previously the `wasm-bindgen-webidl`
crate wouldn't compile, and now it will.
[#1338](https://github.com/rustwasm/wasm-bindgen/pull/1338)
--------------------------------------------------------------------------------
## 0.2.38 ## 0.2.38
Released 2019-03-04. Released 2019-03-04.

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
# Because only a single `wasm_bindgen` version can be used in a dependency # Because only a single `wasm_bindgen` version can be used in a dependency
@ -38,13 +38,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"] xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]
[dependencies] [dependencies]
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.38" } wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.39" }
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies] [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
js-sys = { path = 'crates/js-sys', version = '0.3.15' } js-sys = { path = 'crates/js-sys', version = '0.3.16' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.38' } wasm-bindgen-test = { path = 'crates/test', version = '=0.2.39' }
serde_derive = "1.0" serde_derive = "1.0"
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' } wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' } wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-anyref-xform" name = "wasm-bindgen-anyref-xform"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-backend" name = "wasm-bindgen-backend"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@ -21,4 +21,4 @@ log = "0.4"
proc-macro2 = "0.4.8" proc-macro2 = "0.4.8"
quote = '0.6' quote = '0.6'
syn = { version = '0.15', features = ['full'] } syn = { version = '0.15', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" } wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-cli-support" name = "wasm-bindgen-cli-support"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
@ -18,7 +18,7 @@ log = "0.4"
rustc-demangle = "0.1.13" rustc-demangle = "0.1.13"
tempfile = "3.0" tempfile = "3.0"
walrus = "0.5.0" walrus = "0.5.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.38' } wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.39' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.38' } wasm-bindgen-shared = { path = "../shared", version = '=0.2.39' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.38' } wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.39' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.38' } wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.39' }

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-cli" name = "wasm-bindgen-cli"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0" serde_derive = "1.0"
serde_json = "1.0" serde_json = "1.0"
walrus = "0.5" walrus = "0.5"
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.38" } wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.39" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" } wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }
[features] [features]
vendored-openssl = ['openssl/vendored'] vendored-openssl = ['openssl/vendored']

@ -7,12 +7,12 @@ license = "MIT/Apache-2.0"
name = "wasm-bindgen-futures" name = "wasm-bindgen-futures"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
readme = "./README.md" readme = "./README.md"
version = "0.3.15" version = "0.3.16"
[dependencies] [dependencies]
futures = "0.1.20" futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.3.15' } js-sys = { path = "../js-sys", version = '0.3.16' }
wasm-bindgen = { path = "../..", version = '0.2.38' } wasm-bindgen = { path = "../..", version = '0.2.39' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies] [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.38' } wasm-bindgen-test = { path = '../test', version = '0.2.39' }

@ -1,6 +1,6 @@
[package] [package]
name = "js-sys" name = "js-sys"
version = "0.3.15" version = "0.3.16"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
readme = "./README.md" readme = "./README.md"
categories = ["wasm"] categories = ["wasm"]
@ -18,9 +18,9 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
wasm-bindgen = { path = "../..", version = "0.2.38" } wasm-bindgen = { path = "../..", version = "0.2.39" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies] [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1.20" futures = "0.1.20"
wasm-bindgen-test = { path = '../test', version = '=0.2.38' } wasm-bindgen-test = { path = '../test', version = '=0.2.39' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.15' } wasm-bindgen-futures = { path = '../futures', version = '=0.3.16' }

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-macro-support" name = "wasm-bindgen-macro-support"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
@ -20,5 +20,5 @@ strict-macro = []
syn = { version = '0.15.0', features = ['visit'] } syn = { version = '0.15.0', features = ['visit'] }
quote = '0.6' quote = '0.6'
proc-macro2 = "0.4.9" proc-macro2 = "0.4.9"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.38" } wasm-bindgen-backend = { path = "../backend", version = "=0.2.39" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" } wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" }

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@ -19,5 +19,5 @@ xxx_debug_only_print_generated_code = []
strict-macro = ["wasm-bindgen-macro-support/strict-macro"] strict-macro = ["wasm-bindgen-macro-support/strict-macro"]
[dependencies] [dependencies]
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.38" } wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.39" }
quote = "0.6" quote = "0.6"

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-shared" name = "wasm-bindgen-shared"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-test-macro" name = "wasm-bindgen-test-macro"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
description = "Internal testing macro for wasm-bindgen" description = "Internal testing macro for wasm-bindgen"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-test" name = "wasm-bindgen-test"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen" description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen"
[dependencies] [dependencies]
console_error_panic_hook = '0.1' console_error_panic_hook = '0.1'
futures = "0.1" futures = "0.1"
js-sys = { path = '../js-sys', version = '0.3.15' } js-sys = { path = '../js-sys', version = '0.3.16' }
scoped-tls = "1.0" scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.38' } wasm-bindgen = { path = '../..', version = '0.2.39' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' } wasm-bindgen-futures = { path = '../futures', version = '0.3.16' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.38' } wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.39' }
[lib] [lib]
test = false test = false

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-threads-xform" name = "wasm-bindgen-threads-xform"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-wasm-interpreter" name = "wasm-bindgen-wasm-interpreter"
version = "0.2.38" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"

@ -1,6 +1,6 @@
[package] [package]
name = "web-sys" name = "web-sys"
version = "0.3.15" version = "0.3.16"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
readme = "./README.md" readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html" homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
@ -21,17 +21,17 @@ test = false
[build-dependencies] [build-dependencies]
env_logger = "0.6.0" env_logger = "0.6.0"
failure = "0.1.2" failure = "0.1.2"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.32" } wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.39" }
sourcefile = "0.1" sourcefile = "0.1"
[dependencies] [dependencies]
wasm-bindgen = { path = "../..", version = "0.2.38" } wasm-bindgen = { path = "../..", version = "0.2.39" }
js-sys = { path = '../js-sys', version = '0.3.15' } js-sys = { path = '../js-sys', version = '0.3.16' }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies] [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1" futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.38' } wasm-bindgen-test = { path = '../test', version = '0.2.39' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.15' } wasm-bindgen-futures = { path = '../futures', version = '0.3.16' }
# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when # This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
# compiling this crate which dumps the total list of features to a file called # compiling this crate which dumps the total list of features to a file called

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-bindgen-webidl" name = "wasm-bindgen-webidl"
version = "0.2.32" version = "0.2.39"
authors = ["The wasm-bindgen Developers"] authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
categories = ["wasm"] categories = ["wasm"]
@ -18,5 +18,5 @@ log = "0.4.1"
proc-macro2 = "0.4.8" proc-macro2 = "0.4.8"
quote = '0.6' quote = '0.6'
syn = { version = '0.15', features = ['full'] } syn = { version = '0.15', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.38", path = "../backend" } wasm-bindgen-backend = { version = "=0.2.39", path = "../backend" }
weedle = "0.8" weedle = "0.8"

@ -68,10 +68,17 @@ fn parse(webidl_source: &str, allowed_types: Option<&[&str]>) -> Result<Program>
.context(ErrorKind::ParsingWebIDLSource) .context(ErrorKind::ParsingWebIDLSource)
.into(), .into(),
weedle::Err::Error(cx) | weedle::Err::Failure(cx) => { weedle::Err::Error(cx) | weedle::Err::Failure(cx) => {
// Note that #[allow] here is a workaround for Geal/nom#843
// because the `Context` type here comes from `nom` and if
// something else in our crate graph enables the
// `verbose-errors` feature then we need to still compiled
// against the changed enum definition.
#[allow(unreachable_patterns)]
let remaining = match cx { let remaining = match cx {
weedle::Context::Code(remaining, _) => remaining, weedle::Context::Code(remaining, _) => remaining.len(),
_ => 0,
}; };
let pos = webidl_source.len() - remaining.len(); let pos = webidl_source.len() - remaining;
format_err!("failed to parse WebIDL") format_err!("failed to parse WebIDL")
.context(ErrorKind::ParsingWebIDLSourcePos(pos)) .context(ErrorKind::ParsingWebIDLSourcePos(pos))
.into() .into()

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
js-sys = "0.3.15" js-sys = "0.3.16"
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
js-sys = "0.3.15" js-sys = "0.3.16"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
web-sys = { version = "0.3.15", features = ['console'] } web-sys = { version = "0.3.16", features = ['console'] }

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -9,9 +9,9 @@ crate-type = ["cdylib"]
[dependencies] [dependencies]
futures = "0.1.20" futures = "0.1.20"
wasm-bindgen = { version = "0.2.38", features = ["serde-serialize"] } wasm-bindgen = { version = "0.2.39", features = ["serde-serialize"] }
js-sys = "0.3.15" js-sys = "0.3.16"
wasm-bindgen-futures = "0.3.15" wasm-bindgen-futures = "0.3.16"
serde = { version = "1.0.80", features = ["derive"] } serde = { version = "1.0.80", features = ["derive"] }
serde_derive = "^1.0.59" serde_derive = "^1.0.59"

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
js-sys = "0.3.15" js-sys = "0.3.16"
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
humantime = "1" humantime = "1"
[dependencies.web-sys] [dependencies.web-sys]

@ -10,10 +10,10 @@ crate-type = ["cdylib"]
[dependencies] [dependencies]
console_error_panic_hook = "0.1" console_error_panic_hook = "0.1"
futures = "0.1" futures = "0.1"
js-sys = "0.3.15" js-sys = "0.3.16"
raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' } raytracer = { git = 'https://github.com/alexcrichton/raytracer', branch = 'update-deps' }
wasm-bindgen = { version = "0.2.38", features = ['serde-serialize'] } wasm-bindgen = { version = "0.2.39", features = ['serde-serialize'] }
wasm-bindgen-futures = "0.3.15" wasm-bindgen-futures = "0.3.16"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -11,8 +11,8 @@ crate-type = ["cdylib"]
askama = "0.7.2" askama = "0.7.2"
[dependencies] [dependencies]
js-sys = "0.3.15" js-sys = "0.3.16"
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
askama = "0.7.2" askama = "0.7.2"
console_error_panic_hook = "0.1.5" console_error_panic_hook = "0.1.5"

@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
js-sys = "0.3.15" js-sys = "0.3.16"

@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
js-sys = "0.3.15" js-sys = "0.3.16"
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
wasm-bindgen = "0.2.38" wasm-bindgen = "0.2.39"
[dependencies.web-sys] [dependencies.web-sys]
version = "0.3.4" version = "0.3.4"

@ -44,6 +44,7 @@ const CRATES_TO_AVOID_PUBLISH: &[&str] = &[
"ui-tests", "ui-tests",
"sample", "sample",
"webidl-tests", "webidl-tests",
"typescript-tests",
]; ];
struct Crate { struct Crate {