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

@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
[features]
default = []
serde = ["dep:serde", "graphene-std/serde", "glam/serde"]
gpu = ["graphene-std/gpu", "graphene-core/gpu", "graphene-std/wgpu"]
gpu = ["graphene-std/gpu", "graphene-std/wgpu"]
[dependencies]
# Local dependencies
@ -16,7 +16,7 @@ graph-craft = { path = "../graph-craft" }
wgpu-executor = { path = "../wgpu-executor" }
# Workspace dependencies
graphene-core = { workspace = true, features = ["std"] }
graphene-core = { workspace = true }
dyn-any = { workspace = true, features = ["log-bad-types", "glam"] }
log = { workspace = true }
glam = { workspace = true }