Skip to content

Commit

Permalink
Re-export the entire wasm-bindgen crate instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kajacx committed Jun 6, 2023
1 parent afc68d5 commit 453f280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/js-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Released YYYY-MM-DD.

### Added

* TODO (or remove section if none)
* Added a re-export of `wasm-bindgen`.

### Changed

Expand Down
3 changes: 1 addition & 2 deletions crates/js-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ use std::mem;
use std::str;
use std::str::FromStr;

pub use wasm_bindgen;
use wasm_bindgen::prelude::*;

// When adding new imports:
Expand All @@ -50,8 +51,6 @@ use wasm_bindgen::prelude::*;
// * Arguments that are `JsValue`s or imported JavaScript types should be taken
// by reference.

pub use wasm_bindgen::prelude::JsValue;

macro_rules! forward_deref_unop {
(impl $imp:ident, $method:ident for $t:ty) => {
impl $imp for $t {
Expand Down

0 comments on commit 453f280

Please sign in to comment.