mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-31 02:07:21 +00:00
graster-nodes: replace glam reexport with normal dep
This commit is contained in:
parent
aa0db6abf3
commit
b17a66df7d
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue