Make gcore a std library and remove std, alloc, and more unused features (#2724)

* gcore: remove features `std`, `alloc`, `gpu` and `reflections`, now always available

* gcore: remove non-working features `kurbo` and `log`
This commit is contained in:
Firestar99 2025-06-20 00:12:30 +02:00 committed by Keavon Chambers
parent 6b69a75391
commit 34dced38ba
25 changed files with 40 additions and 233 deletions

View file

@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
[features]
default = ["wasm", "imaginate"]
gpu = [ "graphene-core/gpu" ]
gpu = []
wgpu = ["gpu", "graph-craft/wgpu"]
wasm = ["wasm-bindgen", "web-sys"]
imaginate = ["image/png", "base64", "web-sys", "wasm-bindgen-futures"]
@ -22,11 +22,7 @@ wayland = ["graph-craft/wayland"]
dyn-any = { path = "../../libraries/dyn-any", features = ["derive", "reqwest"] }
graph-craft = { path = "../graph-craft", features = ["serde"] }
wgpu-executor = { path = "../wgpu-executor" }
graphene-core = { path = "../gcore", default-features = false, features = [
"std",
"serde",
"alloc",
] }
graphene-core = { path = "../gcore", default-features = false, features = ["serde"] }
# Workspace dependencies
fastnoise-lite = { workspace = true }