mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
* Make transform node accept footprint as input and pass it along to its input use f32 instead of f64 and add default to document node definition * Add cull node * Fix types for Transform and Cull Nodes * Add render config struct * Add Render Node skeleton * Add Render Node to node_registry * Make types macro use macro hygiene * Place Render Node as output * Start making DownresNode footprint aware * Correctly calculate footprint in Transform Node * Add cropping and resizing to downres node * Fix Output node declaration * Fix image transform * Fix Vector Data rendering * Add concept of ImageRenderMode * Take base image size into account when calculating the final image size * Supply viewport transform to the node graph * Start adapting document graph to resolution agnosticism * Make document node short circuting not shift the input index * Apply clippy lints
74 lines
1.8 KiB
TOML
74 lines
1.8 KiB
TOML
[workspace]
|
|
members = [
|
|
"editor",
|
|
"document-legacy",
|
|
"proc-macros",
|
|
"frontend/wasm",
|
|
"frontend/src-tauri",
|
|
"node-graph/gcore",
|
|
"node-graph/gstd",
|
|
"node-graph/graph-craft",
|
|
"node-graph/graphene-cli",
|
|
"node-graph/interpreted-executor",
|
|
"node-graph/node-macro",
|
|
"node-graph/compilation-server",
|
|
"node-graph/compilation-client",
|
|
"node-graph/vulkan-executor",
|
|
"node-graph/wgpu-executor",
|
|
"node-graph/gpu-executor",
|
|
"node-graph/future-executor",
|
|
"node-graph/gpu-compiler/gpu-compiler-bin-wrapper",
|
|
"libraries/dyn-any",
|
|
"libraries/bezier-rs",
|
|
"website/other/bezier-rs-demos/wasm",
|
|
]
|
|
|
|
resolver = "2"
|
|
|
|
exclude = ["node-graph/gpu-compiler"]
|
|
|
|
[workspace.dependencies]
|
|
# We are using this fork because:
|
|
# - They specify glam=0.22 whereas we use glam=0.24 so the encoding doesn't work.
|
|
# - Their current release doesn't allow doc comments and produces a compile error.
|
|
# See: https://github.com/GraphiteEditor/Graphite/pull/1346/files/a2206401b5b4cf669e71df57f6c95c67336802c8#r1280201659
|
|
specta = { git = "https://github.com/0HyperCube/specta.git", rev = "c47a22b4c0863d27bc47529f300de3969480c66d", features = [
|
|
"glam",
|
|
] }
|
|
rustc-hash = "1.1.0"
|
|
# wasm-bindgen upgrades may break various things so we pin the version
|
|
wasm-bindgen = "=0.2.87"
|
|
|
|
[profile.dev.package.graphite-editor]
|
|
opt-level = 1
|
|
|
|
# This is a mitigation for https://github.com/rustwasm/wasm-pack/issues/981
|
|
# Which is needed because the node_registry function is too large
|
|
[profile.dev.package.interpreted-executor]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package.graphene-core]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package.graphene-std]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package.autoquant]
|
|
opt-level = 3
|
|
|
|
[profile.dev.package.image]
|
|
opt-level = 3
|
|
|
|
[profile.dev.package.rustc-hash]
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
|
|
[profile.profiling]
|
|
inherits = "release"
|
|
debug = true
|