Skip to content

Commit

Permalink
fix: allow a deprecated wasm-bindgen struct
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Nov 29, 2024
1 parent 5947aa2 commit 292772c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hydration_context/src/hydrate.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// #[wasm_bindgen(thread_local)] is deprecated in wasm-bindgen 0.2.96
// but the replacement is also only shipped in that version
// as a result, we'll just allow deprecated for now
#![allow(deprecated)]

use super::{SerializedDataId, SharedContext};
use crate::{PinnedFuture, PinnedStream};
use core::fmt::Debug;
Expand Down

0 comments on commit 292772c

Please sign in to comment.