mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
* Integrate document-format storage into the editor * Address review feedback: drop redundant clones and dedupe metadata traversal * Extract DocumentHistory and move storage-metadata tests to their own file * Extract storage diffing/IO, gate validation and .gdd save behind preferences, restructure tests * Address PR review: save-format/path consistency, autosave persistence, and view-settings/diff fixes * Skip storage remount on .gdd open and split value/timestamp drift in attribute diff * Rename storage tests module and surface .gdd open failures with per-resource diff detail * Add debug-menu toggle to hide the storage preferences section * Hopefully fix async tests * Shorten comments * Fix tests * Review * Review * Review * Block on future mesages in tests * Review * Shorten comments --------- Co-authored-by: Timon <me@timon.zip>
74 lines
2.2 KiB
TOML
74 lines
2.2 KiB
TOML
[package]
|
|
name = "graphite-editor"
|
|
publish = false
|
|
version = "0.0.0"
|
|
rust-version = "1.88"
|
|
authors = ["Graphite Authors <contact@graphite.art>"]
|
|
edition = "2024"
|
|
readme = "../README.md"
|
|
homepage = "https://graphite.art"
|
|
repository = "https://github.com/GraphiteEditor/Graphite"
|
|
license = "Apache-2.0"
|
|
|
|
[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 }
|
|
graph-storage = { workspace = true, features = ["conversion"] }
|
|
document-format = { workspace = true }
|
|
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 }
|
|
|
|
# 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 }
|
|
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 }
|