mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
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:
parent
6b69a75391
commit
34dced38ba
25 changed files with 40 additions and 233 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue