mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-01 07:24:56 -10:00
* Record in the document metadata the view each render was made with and a generation that changes whenever its layer data does * Add a snapping session shared by the tools, which mirrors the document into the snapping library's scene * Draw overlays in the order their providers were added, so the snapping overlay drawn last stays on top * Move the Line and Arrow shapes' snapping onto the snapping session * Stop auto-panning once a Shape tool drag has ended outside the viewport * Wake snapping targets by resting the pointer on them, so they offer alignment, extensions, and tangents from afar * Fix snapping session review findings in options, crossings, labels, and handoffs
81 lines
2.3 KiB
TOML
81 lines
2.3 KiB
TOML
[package]
|
|
name = "graphite-editor"
|
|
version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
homepage.workspace = true
|
|
rust-version.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["gpu"]
|
|
wasm = ["graphene-std/wasm", "interpreted-executor/wasm", "dep:wasm-bindgen"]
|
|
gpu = ["interpreted-executor/gpu", "dep:wgpu-executor"]
|
|
|
|
[dependencies]
|
|
# Local dependencies
|
|
graphite-proc-macros = { workspace = true }
|
|
graph-craft = { workspace = true }
|
|
document-format = { workspace = true }
|
|
document-graph-storage = { workspace = true, features = ["conversion"] }
|
|
document-container = { workspace = true }
|
|
graphene-hash = { workspace = true }
|
|
interpreted-executor = { workspace = true }
|
|
graphene-std = { workspace = true } # NOTE: `core-types` should not be added here because `graphene-std` re-exports its contents
|
|
preprocessor = { workspace = true }
|
|
math-parser = { workspace = true }
|
|
snapping = { workspace = true }
|
|
|
|
# Workspace dependencies
|
|
js-sys = { workspace = true }
|
|
log = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_bytes = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
kurbo = { workspace = true }
|
|
futures = { workspace = true }
|
|
glam = { workspace = true }
|
|
derivative = { workspace = true }
|
|
tsify = { workspace = true }
|
|
dyn-any = { workspace = true }
|
|
num_enum = { workspace = true }
|
|
usvg = { workspace = true }
|
|
simplecss = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
web-sys = { workspace = true }
|
|
vello = { workspace = true }
|
|
base64 = { workspace = true }
|
|
spin = { workspace = true }
|
|
image = { workspace = true }
|
|
color = { workspace = true }
|
|
zip = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
url = { workspace = true }
|
|
|
|
# Optional local dependencies
|
|
wgpu-executor = { workspace = true, optional = true }
|
|
|
|
# Optional workspace dependencies
|
|
wasm-bindgen = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
tokio = { workspace = true }
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
wasm-bindgen-futures = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# Workspace dependencies
|
|
env_logger = { workspace = true }
|
|
futures = { workspace = true }
|
|
node-macro = { workspace = true }
|
|
core-types = { workspace = true }
|