From bb117da3520b25ee70b989007d2083ecbc1e9538 Mon Sep 17 00:00:00 2001 From: Arman Uguray Date: Sun, 23 Apr 2023 16:00:01 -0700 Subject: [PATCH] Enable wasm-bindgen feature of instant crate --- Cargo.toml | 1 + examples/scenes/Cargo.toml | 2 +- examples/with_winit/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 63b835b..b51b0cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,4 +60,5 @@ wgpu = "0.16" # Used for examples clap = "4.1.0" anyhow = "1.0" +instant = { version = "0.1.12", features = [ "wasm-bindgen" ] } pollster = "0.3.0" diff --git a/examples/scenes/Cargo.toml b/examples/scenes/Cargo.toml index 7d2551f..c68ffa3 100644 --- a/examples/scenes/Cargo.toml +++ b/examples/scenes/Cargo.toml @@ -16,7 +16,7 @@ vello_svg = { path = "../../integrations/vello_svg" } anyhow = { workspace = true } clap = { workspace = true, features = ["derive"] } image = "0.24.5" -instant = "0.1.12" +instant = { workspace = true } # Used for the `download` command byte-unit = "4.0" diff --git a/examples/with_winit/Cargo.toml b/examples/with_winit/Cargo.toml index 446422e..3303388 100644 --- a/examples/with_winit/Cargo.toml +++ b/examples/with_winit/Cargo.toml @@ -24,7 +24,7 @@ vello = { path = "../../", features = ["buffer_labels"] } scenes = { path = "../scenes" } anyhow = { workspace = true } clap = { workspace = true, features = ["derive"] } -instant = "0.1.12" +instant = { workspace = true } pollster = { workspace = true } wgpu = { workspace = true }