Remove the whole document-legacy crate (#1524)

Remove the whole document-legacy crate

Closes #1520
This commit is contained in:
Keavon Chambers
2023-12-20 05:45:54 -08:00
committed by GitHub
parent dcd38f2e4c
commit 92203f3576
62 changed files with 1288 additions and 1215 deletions

View File

@@ -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]

View File

@@ -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",
]
] }

View File

@@ -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 }