mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-18 18:38:05 +08:00
Remove the whole document-legacy crate (#1524)
Remove the whole document-legacy crate Closes #1520
This commit is contained in:
@@ -31,7 +31,7 @@ serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
bezier-rs = { workspace = true }
|
||||
glam = { workspace = true }
|
||||
graphene-std = { path = "../gstd" }
|
||||
graphene-std = { path = "../gstd", features = ["serde"] }
|
||||
image = { workspace = true, default-features = false, features = [
|
||||
"bmp",
|
||||
"png",
|
||||
@@ -49,8 +49,4 @@ chrono = { workspace = true }
|
||||
tokio = { workspace = true, features = ["macros", "rt"] }
|
||||
wgpu = { workspace = true }
|
||||
|
||||
[dependencies.document-legacy]
|
||||
path = "../../document-legacy"
|
||||
package = "graphite-document-legacy"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -74,16 +74,8 @@ image-compare = { version = "0.3.0", optional = true }
|
||||
vello = { workspace = true, optional = true }
|
||||
vello_svg = { workspace = true, optional = true }
|
||||
resvg = { workspace = true, optional = true }
|
||||
|
||||
[dependencies.serde]
|
||||
workspace = true
|
||||
optional = true
|
||||
features = ["derive"]
|
||||
|
||||
[dependencies.web-sys]
|
||||
workspace = true
|
||||
optional = true
|
||||
features = [
|
||||
serde = { workspace = true, optional = true, features = ["derive"] }
|
||||
web-sys = { workspace = true, optional = true, features = [
|
||||
"Window",
|
||||
"CanvasRenderingContext2d",
|
||||
"ImageData",
|
||||
@@ -93,4 +85,4 @@ features = [
|
||||
"HtmlCanvasElement",
|
||||
"HtmlImageElement",
|
||||
"ImageBitmapRenderingContext",
|
||||
]
|
||||
] }
|
||||
|
||||
@@ -14,7 +14,7 @@ quantization = ["graphene-std/quantization"]
|
||||
|
||||
[dependencies]
|
||||
graphene-core = { workspace = true, features = ["std"] }
|
||||
graphene-std = { path = "../gstd" }
|
||||
graphene-std = { path = "../gstd", features = ["serde"] }
|
||||
graph-craft = { path = "../graph-craft" }
|
||||
gpu-executor = { path = "../gpu-executor" }
|
||||
wgpu-executor = { path = "../wgpu-executor" }
|
||||
@@ -23,5 +23,6 @@ num-traits = { workspace = true }
|
||||
log = { workspace = true }
|
||||
serde = { workspace = true, optional = true }
|
||||
glam = { workspace = true }
|
||||
once_cell = "1.18" # Remove when `core::cell::LazyCell` is stabilized (<https://doc.rust-lang.org/core/cell/struct.LazyCell.html>)
|
||||
# Remove when `core::cell::LazyCell` is stabilized (<https://doc.rust-lang.org/core/cell/struct.LazyCell.html>)
|
||||
once_cell = "1.18"
|
||||
futures = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user