mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Restructure node-graph folder * Fix wasm compilation * Move node definitions out of *-types crates * Cleanup * Fix warnings * Fix warnings * Start adding migrations * Add migrations and move memo nodes to gcore * Move nodes/gsvg-render -> rendering * Replace some hard coded identifiers and fix automatic conversion * Fix Vec2Value node migration * Fix formatting * Add more migrations * Cleanup features * Fix core_types::raster import * Update demo artwork (to make profile ci work) * Move *-types to node-graph/libraries folder * Add missing node migrations * Migrate more nodes * Remove impure memo node * More fixes and remove warning * Migrate context and add a few missing migrations --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
64 lines
1.7 KiB
TOML
64 lines
1.7 KiB
TOML
[package]
|
|
name = "graph-craft"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[features]
|
|
default = ["dealloc_nodes", "wgpu"]
|
|
dealloc_nodes = ["core-types/dealloc_nodes"]
|
|
wgpu = ["wgpu-executor"]
|
|
tokio = ["dep:tokio"]
|
|
loading = ["serde_json"]
|
|
|
|
[dependencies]
|
|
# Local dependencies
|
|
dyn-any = { workspace = true }
|
|
core-types = { workspace = true }
|
|
path-bool-nodes = { workspace = true }
|
|
brush-nodes = { workspace = true }
|
|
graphene-core = { workspace = true }
|
|
graphene-application-io = { workspace = true }
|
|
rendering = { workspace = true }
|
|
raster-nodes = { workspace = true }
|
|
graphic-types = { workspace = true }
|
|
text-nodes = { workspace = true }
|
|
|
|
# Workspace dependencies
|
|
log = { workspace = true }
|
|
glam = { workspace = true }
|
|
specta = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
url = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
# Optional workspace dependencies
|
|
wgpu-executor = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
serde_json = { workspace = true, optional = true }
|
|
|
|
# Workspace dependencies
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
web-sys = { workspace = true, features = ["Navigator", "Gpu"] }
|
|
js-sys = { workspace = true }
|
|
wasm-bindgen = { workspace = true }
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
winit = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# Workspace dependencies
|
|
graph-craft = { workspace = true, features = ["loading"] }
|
|
pretty_assertions = { workspace = true }
|
|
criterion = { workspace = true }
|
|
iai-callgrind = { workspace = true }
|
|
|
|
# Benchmarks
|
|
[[bench]]
|
|
name = "compile_demo_art_criterion"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "compile_demo_art_iai"
|
|
harness = false
|