Files
Graphite/node-graph/nodes/gstd/Cargo.toml
Dennis Kobert f1b71b6408 New node: 'Vectorize' (#4861)
* Let a synchronous node take its SourceId with #[source_id]

* Add the vectorize node, tracing with ollev in time slices that show partial scenes until the trace is done

* Take ollev from its git repository

* Take ollev at 7ca3452 and hold the vectorize node's trace in the node, showing its first look at once and a newer scene each second

* Take ollev at 803e9b6 and default the vectorize node to its quick stages

* Trace each vectorize slice for 10 ms on the runtime clock, show the newest scene in every evaluation, and drop the request for the next slice with its trace

* Switch ollev to crates.io release

* Clean up the vectorize node: collect lists and paths with iterators, simplify the test helpers, and trim comments

* Drop the trace of an emptied image and reject #[source_id] on data fields

* Improve panic safety and turn max pixel count into memory limit

* Hand ollev the raster without copying it, keep a failed trace's error, and name the no-limit case in the browser error
2026-10-31 10:47:47 +01:00

93 lines
2.4 KiB
TOML

[package]
name = "graphene-std"
description = "Graphene standard library"
version.workspace = true
license.workspace = true
authors.workspace = true
edition.workspace = true
repository.workspace = true
readme.workspace = true
homepage.workspace = true
rust-version.workspace = true
publish.workspace = true
[lints]
workspace = true
[features]
default = ["wgpu"]
gpu = []
wgpu = ["gpu", "graph-craft/wgpu", "graphene-application-io/wgpu", "graphene-canvas-utils?/wgpu"]
wasm = [
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"graphene-application-io/wasm",
"image/png",
"core-types/wasm",
"vector-types/wasm",
"graphic-types/wasm",
"text-nodes/wasm",
"raster-nodes/wasm",
"vector-nodes/wasm",
"graphene-core/wasm",
"graph-craft/wasm",
"dep:graphene-canvas-utils"
]
image-compare = []
vello = ["gpu"]
[dependencies]
# Local dependencies
dyn-any = { workspace = true }
graph-craft = { workspace = true }
wgpu-executor = { workspace = true }
core-types = { workspace = true }
vector-types = { workspace = true }
graphic-types = { workspace = true }
blending-nodes = { workspace = true }
text-nodes = { workspace = true }
transform-nodes = { workspace = true }
vector-nodes = { workspace = true }
path-bool-nodes = { workspace = true }
math-nodes = { workspace = true }
rendering = { workspace = true }
graphene-application-io = { workspace = true }
raster-nodes = { workspace = true }
brush-nodes = { workspace = true }
graphene-core = { workspace = true }
graphic-nodes = { workspace = true }
repeat-nodes = { workspace = true }
vectorize-nodes = { workspace = true }
# Workspace dependencies
log = { workspace = true }
glam = { workspace = true }
node-macro = { workspace = true }
reqwest = { workspace = true }
image = { workspace = true }
wgpu = { workspace = true }
bytemuck = { workspace = true }
thiserror = { workspace = true }
url = { workspace = true }
# Optional local dependencies
graphene-canvas-utils = { workspace = true, optional = true }
# Optional workspace dependencies
wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen-futures = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
vello_gpu = { workspace = true }
web-sys = { workspace = true, optional = true, features = [
"Window",
"Document",
"Navigator",
"Gpu",
"HtmlCanvasElement",
"ImageBitmapRenderingContext",
] }
[dev-dependencies]
tokio = { workspace = true }