Update wasm-bindgen, syn and wgpu (#1398)

This commit is contained in:
0HyperCube
2023-08-23 15:53:56 +01:00
committed by GitHub
parent 09a509c8b5
commit b881385e3b
26 changed files with 511 additions and 435 deletions

View File

@@ -30,7 +30,7 @@ bezier-rs = { path = "../libraries/bezier-rs" }
glam = { version = "0.24", features = ["serde"] }
remain = "0.2.2"
derivative = "2.2.0"
once_cell = "1.13.0" # Remove when `core::cell::OnceCell` is stabilized (<https://doc.rust-lang.org/core/cell/struct.OnceCell.html>)
once_cell = "1.13.0" # Remove when `core::cell::LazyCell` is stabilized (<https://doc.rust-lang.org/core/cell/struct.LazyCell.html>)
specta.workspace = true
# Node graph
@@ -48,13 +48,13 @@ graphene-std = { path = "../node-graph/gstd" }
future-executor = { path = "../node-graph/future-executor", optional = true }
num_enum = "0.6.1"
wasm-bindgen = { version = "0.2.86", optional = true }
wasm-bindgen = { workspace = true, optional = true }
[dependencies.document-legacy]
path = "../document-legacy"
package = "graphite-document-legacy"
[dev-dependencies]
env_logger = "0.8.4"
test-case = "2.1"
env_logger = "0.10"
test-case = "3.1"
futures = "0.3.28"

View File

@@ -1,5 +1,5 @@
use crate::messages::portfolio::utility_types::Platform;
use once_cell::sync::OnceCell;
use std::sync::OnceLock;
pub static GLOBAL_PLATFORM: OnceCell<Platform> = OnceCell::new();
pub static GLOBAL_PLATFORM: OnceLock<Platform> = OnceLock::new();