Skip to content

Commit ee5d95a

Browse files
committed
graster-nodes: replace glam reexport with normal dep
1 parent 50e6253 commit ee5d95a

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

node-graph/graster-nodes/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ std = [
2424
"dep:fastnoise-lite",
2525
"dep:serde",
2626
"dep:specta",
27-
"dep:glam",
2827
"dep:graphene-raster-nodes-shaders",
29-
"dep:kurbo"
28+
"dep:kurbo",
29+
"glam/debug-glam-assert",
30+
"glam/serde",
3031
]
3132

3233
[dependencies]
@@ -43,8 +44,7 @@ graphene-raster-nodes-shaders = { path = "./shaders", optional = true }
4344
bytemuck = { workspace = true }
4445
spirv-std = { workspace = true }
4546
num-traits = { workspace = true }
46-
# glam is reexported from gcore-shaders in no_std mode
47-
glam = { workspace = true, optional = true }
47+
glam = { version = "0.29", default-features = false, features = ["nostd-libm", "scalar-math"] }
4848

4949
# Workspace std dependencies
5050
specta = { workspace = true, optional = true }

node-graph/graster-nodes/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
22

3-
#[cfg(not(feature = "std"))]
4-
pub use graphene_core_shaders::glam;
5-
63
pub mod adjust;
74
pub mod adjustments;
85
#[cfg(feature = "std")]

0 commit comments

Comments
 (0)