Skip to content

Commit

Permalink
Re-export wasm-bindgen and js-sys (#3466)
Browse files Browse the repository at this point in the history
  • Loading branch information
kajacx committed Jun 25, 2023
1 parent 165ad00 commit 5158764
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/js-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ Released YYYY-MM-DD.

### Added

* TODO (or remove section if none)
* Re-export `wasm-bindgen` from `js-sys` and `web-sys`.
[#3466](https://github.com/rustwasm/wasm-bindgen/pull/3466)

* Re-export `js-sys` from `web-sys`.
[#3466](https://github.com/rustwasm/wasm-bindgen/pull/3466)

### Changed

Expand Down
1 change: 1 addition & 0 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 Down
3 changes: 3 additions & 0 deletions crates/web-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
mod features;
pub use features::*;

pub use js_sys;
pub use wasm_bindgen;

/// Getter for the `Window` object
///
/// [MDN Documentation]
Expand Down

0 comments on commit 5158764

Please sign in to comment.