Skip to content

Commit 3f5d3ca

Browse files
committed
graster-nodes: replace glam reexport with normal dep
1 parent cc6b637 commit 3f5d3ca

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

node-graph/graster-nodes/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ std = [
1818
"dep:fastnoise-lite",
1919
"dep:serde",
2020
"dep:specta",
21-
"dep:glam",
2221
"dep:kurbo",
22+
"glam/debug-glam-assert",
23+
"glam/serde",
2324
]
2425

2526
[dependencies]
@@ -33,8 +34,7 @@ graphene-core = { workspace = true, optional = true }
3334

3435
# Workspace dependencies
3536
bytemuck = { workspace = true }
36-
# glam is reexported from gcore-shaders in no_std mode
37-
glam = { workspace = true, optional = true }
37+
glam = { version = "0.29", default-features = false, features = ["nostd-libm", "scalar-math"] }
3838
num-traits = { workspace = true }
3939

4040
# Workspace std dependencies

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
pub mod blending_nodes;

0 commit comments

Comments
 (0)