mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Start integrating vello into render pipeline Cache vello render creation Implement viewport navigation Close vello path Add transform parameter to vello render pass * Fix render node types * Fix a bunch of bugs in the path translation * Avoid panic on empty document * Fix rendering of holes * Implement image rendering * Implement graph recompilation afer editor api change * Implement preferences toggle for using vello as the renderer * Make surface creation optional * Feature gate vello usages * Implement skeleton for radial gradient * Rename vello preference * Fix some gradients * Only update monitor nodes on graph recompile * Fix warnings + remove dead code * Update everything except for thumbnails after a node graph evaluation * Fix missing click targets for Image frames * Improve perfamance by removing unecessary widget updates * Fix node graph paning * Fix thumbnail loading * Implement proper hash for vector modification * Fix test and warnings * Code review * Fix dep * Remove warning --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
83 lines
2.4 KiB
TOML
83 lines
2.4 KiB
TOML
[package]
|
|
name = "graphite-editor"
|
|
publish = false
|
|
version = "0.0.0"
|
|
rust-version = "1.79"
|
|
authors = ["Graphite Authors <contact@graphite.rs>"]
|
|
edition = "2021"
|
|
readme = "../README.md"
|
|
homepage = "https://graphite.rs"
|
|
repository = "https://github.com/GraphiteEditor/Graphite"
|
|
license = "Apache-2.0"
|
|
|
|
[features]
|
|
default = ["wasm"]
|
|
wasm = ["wasm-bindgen", "graphene-std/wasm", "wasm-bindgen-futures"]
|
|
gpu = [
|
|
"interpreted-executor/gpu",
|
|
"graphene-std/gpu",
|
|
"graphene-core/gpu",
|
|
"wgpu-executor",
|
|
"gpu-executor",
|
|
]
|
|
resvg = ["graphene-std/resvg"]
|
|
vello = ["graphene-std/vello", "resvg", "graphene-core/vello"]
|
|
quantization = [
|
|
"graphene-std/quantization",
|
|
"interpreted-executor/quantization",
|
|
]
|
|
|
|
[dependencies]
|
|
# Local dependencies
|
|
graphite-proc-macros = { path = "../proc-macros" }
|
|
graph-craft = { path = "../node-graph/graph-craft" }
|
|
interpreted-executor = { path = "../node-graph/interpreted-executor" }
|
|
graphene-core = { path = "../node-graph/gcore" }
|
|
graphene-std = { path = "../node-graph/gstd", features = ["serde"] }
|
|
|
|
# Workspace dependencies
|
|
js-sys = { workspace = true }
|
|
log = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
bezier-rs = { workspace = true }
|
|
futures = { workspace = true }
|
|
glam = { workspace = true, features = ["serde", "debug-glam-assert"] }
|
|
derivative = { workspace = true }
|
|
specta.workspace = true
|
|
image = { workspace = true, features = ["bmp", "png"] }
|
|
dyn-any = { workspace = true }
|
|
num_enum = { workspace = true }
|
|
usvg = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
web-sys = { workspace = true, features = [
|
|
"Document",
|
|
"DomRect",
|
|
"Element",
|
|
"HtmlCanvasElement",
|
|
"CanvasRenderingContext2d",
|
|
"TextMetrics",
|
|
] }
|
|
|
|
# Optional local dependencies
|
|
wgpu-executor = { path = "../node-graph/wgpu-executor", optional = true }
|
|
gpu-executor = { path = "../node-graph/gpu-executor", optional = true }
|
|
|
|
# Optional workspace dependencies
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
wasm-bindgen-futures = { workspace = true, optional = true }
|
|
async-mutex = "1.4.0"
|
|
|
|
[dev-dependencies]
|
|
# Workspace dependencies
|
|
env_logger = { workspace = true }
|
|
futures = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt", "macros"] }
|
|
|
|
[lints.rust]
|
|
# TODO: figure out why we check these features when they do not exist
|
|
unexpected_cfgs = { level = "warn", check-cfg = [
|
|
'cfg(feature, values("resvg", "vello"))',
|
|
] }
|