mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 11:28:30 +08:00
Update wasm-bindgen, syn and wgpu (#1398)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user