Skip to content

Commit

Permalink
Add missing dependencies in example
Browse files Browse the repository at this point in the history
  • Loading branch information
flosse committed Nov 23, 2024
1 parent 3f815f7 commit 4c6b423
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions xilem_web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,7 @@ features = [
default = []
# This interns some often used strings, such as element tags ("div" etc.), which slightly improves performance when creating elements at the cost of a bigger wasm binary
intern_strings = ["wasm-bindgen/enable-interning"]

[dev-dependencies]
async-stream = "0.3.6"
gloo-timers = { version = "0.3.0", features = ["futures"] }
2 changes: 1 addition & 1 deletion xilem_web/src/concurrent/memoized_await.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ where
/// ```
/// use gloo_timers::future::TimeoutFuture;
/// use async_stream::stream;
/// use xilem_web::{core::fork, concurrent::memoized_stream, elements::html::div, interfaces::Element};
/// use xilem_web::{core::fork, concurrent::memoized_stream, elements::html, interfaces::Element};
///
/// fn app_logic(state: &mut Vec<usize>) -> impl Element<Vec<usize>> {
/// fork(
Expand Down

0 comments on commit 4c6b423

Please sign in to comment.