|
[package] |
|
name = "graphite-editor" |
|
publish = false |
|
version = "0.0.0" |
|
rust-version = "1.85" |
|
authors = ["Graphite Authors <[email protected]>"] |
|
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"] |
|
tauri = ["ron", "decouple-execution"] |
|
decouple-execution = [] |
|
resvg = ["graphene-std/resvg"] |
|
vello = ["graphene-std/vello", "resvg"] |
|
ron = ["dep:ron"] |
|
|
|
[dependencies] |
|
|
|
graphite-proc-macros = { workspace = true } |
|
graph-craft = { workspace = true } |
|
interpreted-executor = { workspace = true } |
|
graphene-std = { workspace = true } |
|
preprocessor = { workspace = true } |
|
|
|
|
|
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 } |
|
|
|
|
|
spin = "0.9.8" |
|
|
|
|
|
wgpu-executor = { workspace = true, optional = true } |
|
|
|
|
|
wasm-bindgen = { workspace = true, optional = true } |
|
wasm-bindgen-futures = { workspace = true, optional = true } |
|
ron = { workspace = true, optional = true } |
|
|
|
[dev-dependencies] |
|
|
|
env_logger = { workspace = true } |
|
futures = { workspace = true } |
|
tokio = { workspace = true } |
|
|
|
[lints.rust] |
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = [ |
|
'cfg(feature, values("resvg", "vello"))', |
|
] } |
|
|