diff --git a/CHANGELOG.md b/CHANGELOG.md index 53cb2cea..0a182a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 Released 2019-03-04. diff --git a/Cargo.toml b/Cargo.toml index 902e1b95..9291a5a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" # 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"] [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_json = { version = "1.0", optional = true } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -js-sys = { path = 'crates/js-sys', version = '0.3.15' } -wasm-bindgen-test = { path = 'crates/test', version = '=0.2.38' } +js-sys = { path = 'crates/js-sys', version = '0.3.16' } +wasm-bindgen-test = { path = 'crates/test', version = '=0.2.39' } serde_derive = "1.0" wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' } wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' } diff --git a/crates/anyref-xform/Cargo.toml b/crates/anyref-xform/Cargo.toml index 2889fb7d..c725daa3 100644 --- a/crates/anyref-xform/Cargo.toml +++ b/crates/anyref-xform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-anyref-xform" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform" diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 7aebc02b..14a9fb0a 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-backend" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend" @@ -21,4 +21,4 @@ log = "0.4" proc-macro2 = "0.4.8" quote = '0.6' syn = { version = '0.15', features = ['full'] } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" } diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index eb8f1b64..b8d87da0 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli-support" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support" @@ -18,7 +18,7 @@ log = "0.4" rustc-demangle = "0.1.13" tempfile = "3.0" walrus = "0.5.0" -wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.38' } -wasm-bindgen-shared = { path = "../shared", version = '=0.2.38' } -wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.38' } -wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.38' } +wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.39' } +wasm-bindgen-shared = { path = "../shared", version = '=0.2.39' } +wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.39' } +wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.39' } diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 6b699b90..72b61c64 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-cli" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" 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_json = "1.0" walrus = "0.5" -wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.38" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" } +wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.39" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" } [features] vendored-openssl = ['openssl/vendored'] diff --git a/crates/futures/Cargo.toml b/crates/futures/Cargo.toml index a754db56..958f0a45 100644 --- a/crates/futures/Cargo.toml +++ b/crates/futures/Cargo.toml @@ -7,12 +7,12 @@ license = "MIT/Apache-2.0" name = "wasm-bindgen-futures" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures" readme = "./README.md" -version = "0.3.15" +version = "0.3.16" [dependencies] futures = "0.1.20" -js-sys = { path = "../js-sys", version = '0.3.15' } -wasm-bindgen = { path = "../..", version = '0.2.38' } +js-sys = { path = "../js-sys", version = '0.3.16' } +wasm-bindgen = { path = "../..", version = '0.2.39' } [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' } diff --git a/crates/js-sys/Cargo.toml b/crates/js-sys/Cargo.toml index 45556519..ba2f875c 100644 --- a/crates/js-sys/Cargo.toml +++ b/crates/js-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "js-sys" -version = "0.3.15" +version = "0.3.16" authors = ["The wasm-bindgen Developers"] readme = "./README.md" categories = ["wasm"] @@ -18,9 +18,9 @@ test = false doctest = false [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.38" } +wasm-bindgen = { path = "../..", version = "0.2.39" } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1.20" -wasm-bindgen-test = { path = '../test', version = '=0.2.38' } -wasm-bindgen-futures = { path = '../futures', version = '=0.3.15' } +wasm-bindgen-test = { path = '../test', version = '=0.2.39' } +wasm-bindgen-futures = { path = '../futures', version = '=0.3.16' } diff --git a/crates/macro-support/Cargo.toml b/crates/macro-support/Cargo.toml index 75117eb6..219c72ff 100644 --- a/crates/macro-support/Cargo.toml +++ b/crates/macro-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro-support" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" 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'] } quote = '0.6' proc-macro2 = "0.4.9" -wasm-bindgen-backend = { path = "../backend", version = "=0.2.38" } -wasm-bindgen-shared = { path = "../shared", version = "=0.2.38" } +wasm-bindgen-backend = { path = "../backend", version = "=0.2.39" } +wasm-bindgen-shared = { path = "../shared", version = "=0.2.39" } diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index a299efe5..d4f15336 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-macro" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" 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"] [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" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index 33d88f87..93b3fc54 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-shared" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared" diff --git a/crates/test-macro/Cargo.toml b/crates/test-macro/Cargo.toml index e900fcb3..14010091 100644 --- a/crates/test-macro/Cargo.toml +++ b/crates/test-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test-macro" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] description = "Internal testing macro for wasm-bindgen" license = "MIT/Apache-2.0" diff --git a/crates/test/Cargo.toml b/crates/test/Cargo.toml index 83b5f798..fec00359 100644 --- a/crates/test/Cargo.toml +++ b/crates/test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-test" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] description = "Internal testing crate for wasm-bindgen" license = "MIT/Apache-2.0" @@ -9,11 +9,11 @@ repository = "https://github.com/rustwasm/wasm-bindgen" [dependencies] console_error_panic_hook = '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" -wasm-bindgen = { path = '../..', version = '0.2.38' } -wasm-bindgen-futures = { path = '../futures', version = '0.3.15' } -wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.38' } +wasm-bindgen = { path = '../..', version = '0.2.39' } +wasm-bindgen-futures = { path = '../futures', version = '0.3.16' } +wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.39' } [lib] test = false diff --git a/crates/threads-xform/Cargo.toml b/crates/threads-xform/Cargo.toml index d9a57bc3..c57324ac 100644 --- a/crates/threads-xform/Cargo.toml +++ b/crates/threads-xform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-threads-xform" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform" diff --git a/crates/wasm-interpreter/Cargo.toml b/crates/wasm-interpreter/Cargo.toml index 13bb1823..58a16774 100644 --- a/crates/wasm-interpreter/Cargo.toml +++ b/crates/wasm-interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-wasm-interpreter" -version = "0.2.38" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter" diff --git a/crates/web-sys/Cargo.toml b/crates/web-sys/Cargo.toml index ef58879f..5956f168 100644 --- a/crates/web-sys/Cargo.toml +++ b/crates/web-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "web-sys" -version = "0.3.15" +version = "0.3.16" authors = ["The wasm-bindgen Developers"] readme = "./README.md" homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html" @@ -21,17 +21,17 @@ test = false [build-dependencies] env_logger = "0.6.0" 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" [dependencies] -wasm-bindgen = { path = "../..", version = "0.2.38" } -js-sys = { path = '../js-sys', version = '0.3.15' } +wasm-bindgen = { path = "../..", version = "0.2.39" } +js-sys = { path = '../js-sys', version = '0.3.16' } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] futures = "0.1" -wasm-bindgen-test = { path = '../test', version = '0.2.38' } -wasm-bindgen-futures = { path = '../futures', version = '0.3.15' } +wasm-bindgen-test = { path = '../test', version = '0.2.39' } +wasm-bindgen-futures = { path = '../futures', version = '0.3.16' } # 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 diff --git a/crates/webidl/Cargo.toml b/crates/webidl/Cargo.toml index 8c69c2f0..98c35cd2 100644 --- a/crates/webidl/Cargo.toml +++ b/crates/webidl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-bindgen-webidl" -version = "0.2.32" +version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" categories = ["wasm"] @@ -18,5 +18,5 @@ log = "0.4.1" proc-macro2 = "0.4.8" quote = '0.6' 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" diff --git a/crates/webidl/src/lib.rs b/crates/webidl/src/lib.rs index ab61ed56..e005b169 100644 --- a/crates/webidl/src/lib.rs +++ b/crates/webidl/src/lib.rs @@ -68,10 +68,17 @@ fn parse(webidl_source: &str, allowed_types: Option<&[&str]>) -> Result .context(ErrorKind::ParsingWebIDLSource) .into(), 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 { - 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") .context(ErrorKind::ParsingWebIDLSourcePos(pos)) .into() diff --git a/examples/add/Cargo.toml b/examples/add/Cargo.toml index 10fc9b84..92a837f9 100644 --- a/examples/add/Cargo.toml +++ b/examples/add/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/canvas/Cargo.toml b/examples/canvas/Cargo.toml index 03538b86..b6dd71fc 100644 --- a/examples/canvas/Cargo.toml +++ b/examples/canvas/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.15" -wasm-bindgen = "0.2.38" +js-sys = "0.3.16" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/char/Cargo.toml b/examples/char/Cargo.toml index eabe5a1b..6e8d1eb9 100644 --- a/examples/char/Cargo.toml +++ b/examples/char/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/closures/Cargo.toml b/examples/closures/Cargo.toml index 98f997d4..aadd2eb8 100644 --- a/examples/closures/Cargo.toml +++ b/examples/closures/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" -js-sys = "0.3.15" +wasm-bindgen = "0.2.39" +js-sys = "0.3.16" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/console_log/Cargo.toml b/examples/console_log/Cargo.toml index 218e6081..2c922e27 100644 --- a/examples/console_log/Cargo.toml +++ b/examples/console_log/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" -web-sys = { version = "0.3.15", features = ['console'] } +wasm-bindgen = "0.2.39" +web-sys = { version = "0.3.16", features = ['console'] } diff --git a/examples/dom/Cargo.toml b/examples/dom/Cargo.toml index 67cc1e31..73f05375 100644 --- a/examples/dom/Cargo.toml +++ b/examples/dom/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/duck-typed-interfaces/Cargo.toml b/examples/duck-typed-interfaces/Cargo.toml index 65b6c145..5eb3d108 100644 --- a/examples/duck-typed-interfaces/Cargo.toml +++ b/examples/duck-typed-interfaces/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/fetch/Cargo.toml b/examples/fetch/Cargo.toml index 3fc25cd2..d1375355 100644 --- a/examples/fetch/Cargo.toml +++ b/examples/fetch/Cargo.toml @@ -9,9 +9,9 @@ crate-type = ["cdylib"] [dependencies] futures = "0.1.20" -wasm-bindgen = { version = "0.2.38", features = ["serde-serialize"] } -js-sys = "0.3.15" -wasm-bindgen-futures = "0.3.15" +wasm-bindgen = { version = "0.2.39", features = ["serde-serialize"] } +js-sys = "0.3.16" +wasm-bindgen-futures = "0.3.16" serde = { version = "1.0.80", features = ["derive"] } serde_derive = "^1.0.59" diff --git a/examples/guide-supported-types-examples/Cargo.toml b/examples/guide-supported-types-examples/Cargo.toml index b0fe803a..958ff882 100644 --- a/examples/guide-supported-types-examples/Cargo.toml +++ b/examples/guide-supported-types-examples/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index 8c7af90d..3b20a5f9 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/import_js/Cargo.toml b/examples/import_js/Cargo.toml index 385c52cc..59dfb5a2 100644 --- a/examples/import_js/Cargo.toml +++ b/examples/import_js/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/julia_set/Cargo.toml b/examples/julia_set/Cargo.toml index a9b7e932..7864b8fa 100644 --- a/examples/julia_set/Cargo.toml +++ b/examples/julia_set/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/paint/Cargo.toml b/examples/paint/Cargo.toml index 9fdd3dba..b1c136f7 100644 --- a/examples/paint/Cargo.toml +++ b/examples/paint/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.15" -wasm-bindgen = "0.2.38" +js-sys = "0.3.16" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/performance/Cargo.toml b/examples/performance/Cargo.toml index cf34553c..2cedaeea 100644 --- a/examples/performance/Cargo.toml +++ b/examples/performance/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" humantime = "1" [dependencies.web-sys] diff --git a/examples/raytrace-parallel/Cargo.toml b/examples/raytrace-parallel/Cargo.toml index 300cf5bd..6bd4fda1 100644 --- a/examples/raytrace-parallel/Cargo.toml +++ b/examples/raytrace-parallel/Cargo.toml @@ -10,10 +10,10 @@ crate-type = ["cdylib"] [dependencies] console_error_panic_hook = "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' } -wasm-bindgen = { version = "0.2.38", features = ['serde-serialize'] } -wasm-bindgen-futures = "0.3.15" +wasm-bindgen = { version = "0.2.39", features = ['serde-serialize'] } +wasm-bindgen-futures = "0.3.16" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/request-animation-frame/Cargo.toml b/examples/request-animation-frame/Cargo.toml index 15eae80b..1c906bab 100644 --- a/examples/request-animation-frame/Cargo.toml +++ b/examples/request-animation-frame/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index cde322a1..0b75b7af 100644 --- a/examples/todomvc/Cargo.toml +++ b/examples/todomvc/Cargo.toml @@ -11,8 +11,8 @@ crate-type = ["cdylib"] askama = "0.7.2" [dependencies] -js-sys = "0.3.15" -wasm-bindgen = "0.2.38" +js-sys = "0.3.16" +wasm-bindgen = "0.2.39" askama = "0.7.2" console_error_panic_hook = "0.1.5" diff --git a/examples/wasm-in-wasm/Cargo.toml b/examples/wasm-in-wasm/Cargo.toml index 48df747c..57352039 100644 --- a/examples/wasm-in-wasm/Cargo.toml +++ b/examples/wasm-in-wasm/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" -js-sys = "0.3.15" +wasm-bindgen = "0.2.39" +js-sys = "0.3.16" diff --git a/examples/wasm2js/Cargo.toml b/examples/wasm2js/Cargo.toml index 8335cf88..24784126 100644 --- a/examples/wasm2js/Cargo.toml +++ b/examples/wasm2js/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" diff --git a/examples/webaudio/Cargo.toml b/examples/webaudio/Cargo.toml index 69596645..ef5b9fff 100644 --- a/examples/webaudio/Cargo.toml +++ b/examples/webaudio/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/webgl/Cargo.toml b/examples/webgl/Cargo.toml index 2c45ec12..d9783ddf 100644 --- a/examples/webgl/Cargo.toml +++ b/examples/webgl/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -js-sys = "0.3.15" -wasm-bindgen = "0.2.38" +js-sys = "0.3.16" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/examples/without-a-bundler/Cargo.toml b/examples/without-a-bundler/Cargo.toml index 1851a70e..bca30cf9 100644 --- a/examples/without-a-bundler/Cargo.toml +++ b/examples/without-a-bundler/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -wasm-bindgen = "0.2.38" +wasm-bindgen = "0.2.39" [dependencies.web-sys] version = "0.3.4" diff --git a/publish.rs b/publish.rs index c983077b..2d198e46 100644 --- a/publish.rs +++ b/publish.rs @@ -44,6 +44,7 @@ const CRATES_TO_AVOID_PUBLISH: &[&str] = &[ "ui-tests", "sample", "webidl-tests", + "typescript-tests", ]; struct Crate {