graster-nodes: replace glam reexport with normal dep

This commit is contained in:
firestar99 2025-08-18 20:01:16 +02:00
parent aa0db6abf3
commit b17a66df7d
2 changed files with 3 additions and 6 deletions

View file

@ -18,8 +18,9 @@ std = [
"dep:fastnoise-lite",
"dep:serde",
"dep:specta",
"dep:glam",
"dep:kurbo",
"glam/debug-glam-assert",
"glam/serde",
]
[dependencies]
@ -33,8 +34,7 @@ graphene-core = { workspace = true, optional = true }
# Workspace dependencies
bytemuck = { workspace = true }
# glam is reexported from gcore-shaders in no_std mode
glam = { workspace = true, optional = true }
glam = { version = "0.29", default-features = false, features = ["nostd-libm", "scalar-math"] }
num-traits = { workspace = true }
# Workspace std dependencies

View file

@ -1,8 +1,5 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(not(feature = "std"))]
pub use graphene_core_shaders::glam;
pub mod adjust;
pub mod adjustments;
pub mod blending_nodes;