mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Render overlays with vello * Fix nix flake comments * Rendering refactor with better names and code location * Remove unnecessary overlay renders * Post rebase fix
72 lines
2 KiB
TOML
72 lines
2 KiB
TOML
[package]
|
|
name = "graphite-editor"
|
|
publish = false
|
|
version = "0.0.0"
|
|
rust-version = "1.88"
|
|
authors = ["Graphite Authors <contact@graphite.rs>"]
|
|
edition = "2024"
|
|
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", "wgpu-executor"]
|
|
resvg = ["graphene-std/resvg"]
|
|
vello = ["graphene-std/vello", "resvg"]
|
|
ron = ["dep:ron"]
|
|
|
|
[dependencies]
|
|
# Local dependencies
|
|
graphite-proc-macros = { workspace = true }
|
|
graph-craft = { workspace = true }
|
|
interpreted-executor = { workspace = true }
|
|
graphene-std = { workspace = true }
|
|
preprocessor = { workspace = true }
|
|
|
|
# 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 }
|
|
kurbo = { workspace = true }
|
|
futures = { workspace = true }
|
|
glam = { workspace = true }
|
|
derivative = { workspace = true }
|
|
specta = { workspace = true }
|
|
dyn-any = { workspace = true }
|
|
num_enum = { workspace = true }
|
|
usvg = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
web-sys = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
vello = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
# Required dependencies
|
|
spin = "0.9.8"
|
|
|
|
# Optional local dependencies
|
|
wgpu-executor = { workspace = true, optional = true }
|
|
|
|
# Optional workspace dependencies
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
wasm-bindgen-futures = { workspace = true, optional = true }
|
|
ron = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
# Workspace dependencies
|
|
env_logger = { workspace = true }
|
|
futures = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
[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"))',
|
|
] }
|