Remove dead code for Imaginate

This commit is contained in:
Keavon Chambers
2025-06-26 18:33:00 -07:00
parent 1a4d7aa23c
commit 1875779b0a
32 changed files with 23 additions and 2022 deletions

View File

@@ -7,11 +7,16 @@ authors = ["Graphite Authors <contact@graphite.rs>"]
license = "MIT OR Apache-2.0"
[features]
default = ["wasm", "imaginate"]
default = ["wasm"]
gpu = []
wgpu = ["gpu", "graph-craft/wgpu", "graphene-application-io/wgpu"]
wasm = ["wasm-bindgen", "web-sys", "graphene-application-io/wasm"]
imaginate = ["image/png", "base64", "web-sys", "wasm-bindgen-futures"]
wasm = [
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"graphene-application-io/wasm",
"image/png",
]
image-compare = []
vello = ["dep:vello", "gpu", "graphene-core/vello"]
resvg = []
@@ -39,9 +44,9 @@ rand_chacha = { workspace = true }
rand = { workspace = true }
bytemuck = { workspace = true }
image = { workspace = true }
base64 = { workspace = true }
# Optional workspace dependencies
base64 = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen-futures = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
@@ -58,7 +63,7 @@ web-sys = { workspace = true, optional = true, features = [
"ImageBitmapRenderingContext",
] }
# Optional dependencies
# Required dependencies
ndarray = "0.16.1"
[dev-dependencies]