diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 7e6808fe..2672f20a 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -33,6 +33,7 @@ rand = { version = "0.9.2", default-features = false } wasm-bindgen = "0.2.108" wasm-bindgen-futures = "0.4.54" web-sys = "0.3.81" +critical-section = { version = "1.2", features = ["std"] } [patch.crates-io] # remove this after ratatui gets updated upstream diff --git a/examples/animations/Cargo.toml b/examples/animations/Cargo.toml index c6b544b0..1e396b9c 100644 --- a/examples/animations/Cargo.toml +++ b/examples/animations/Cargo.toml @@ -9,3 +9,4 @@ ratzilla.workspace = true tachyonfx.workspace = true console_error_panic_hook.workspace = true examples-shared.workspace = true +critical-section.workspace = true diff --git a/examples/canvas_waves/Cargo.toml b/examples/canvas_waves/Cargo.toml index 60bbc58f..abb686da 100644 --- a/examples/canvas_waves/Cargo.toml +++ b/examples/canvas_waves/Cargo.toml @@ -10,3 +10,4 @@ console_error_panic_hook.workspace = true tachyonfx.workspace = true web-time.workspace = true examples-shared.workspace = true +critical-section.workspace = true diff --git a/examples/demo/Cargo.toml b/examples/demo/Cargo.toml index 754e53ce..f1ec3076 100644 --- a/examples/demo/Cargo.toml +++ b/examples/demo/Cargo.toml @@ -10,4 +10,5 @@ ratzilla.workspace = true tachyonfx.workspace = true web-time.workspace = true examples-shared.workspace = true +critical-section.workspace = true # tui-big-text = "0.6.1" diff --git a/examples/demo2/Cargo.toml b/examples/demo2/Cargo.toml index 1558dc23..19c78881 100644 --- a/examples/demo2/Cargo.toml +++ b/examples/demo2/Cargo.toml @@ -15,3 +15,4 @@ strum = { version = "0.27.2", features = ["derive"] } time = "0.3.44" unicode-width = "0.2.0" examples-shared.workspace = true +critical-section.workspace = true diff --git a/examples/pong/Cargo.toml b/examples/pong/Cargo.toml index f30f7c5d..303dfa62 100644 --- a/examples/pong/Cargo.toml +++ b/examples/pong/Cargo.toml @@ -8,3 +8,4 @@ publish = false ratzilla.workspace = true console_error_panic_hook.workspace = true examples-shared.workspace = true +critical-section.workspace = true diff --git a/examples/text_area/Cargo.toml b/examples/text_area/Cargo.toml index b743c12d..387fa3c0 100644 --- a/examples/text_area/Cargo.toml +++ b/examples/text_area/Cargo.toml @@ -9,3 +9,4 @@ console_error_panic_hook.workspace = true ratzilla.workspace = true tui-textarea = { version = "0.7.0", default-features = false, features = ["ratatui"] } examples-shared.workspace = true +critical-section.workspace = true diff --git a/examples/user_input/Cargo.toml b/examples/user_input/Cargo.toml index e0e06b57..9af38f33 100644 --- a/examples/user_input/Cargo.toml +++ b/examples/user_input/Cargo.toml @@ -7,3 +7,4 @@ publish = false [dependencies] ratzilla.workspace = true examples-shared.workspace = true +critical-section.workspace = true diff --git a/examples/website/Cargo.toml b/examples/website/Cargo.toml index b2cfcfa7..693e2080 100644 --- a/examples/website/Cargo.toml +++ b/examples/website/Cargo.toml @@ -9,3 +9,4 @@ ratzilla.workspace = true tachyonfx.workspace = true console_error_panic_hook.workspace = true examples-shared.workspace = true +critical-section.workspace = true