mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-07-07 15:55:00 +00:00
Remove unused dependencies from the Cargo.toml files via cargo shear
(#2723)
* cargo shear ignore rules * cargo shear * cargo shear manual dependency removal * cargo shear: ignore editor in proc-macros
This commit is contained in:
parent
3489f9ddb1
commit
14d90195ad
15 changed files with 18 additions and 156 deletions
84
Cargo.lock
generated
84
Cargo.lock
generated
|
@ -230,15 +230,6 @@ dependencies = [
|
|||
"libloading 0.8.6",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "async-mutex"
|
||||
version = "1.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "479db852db25d9dbf6204e6cb6253698f175c15726470f78af0d918e99d6156e"
|
||||
dependencies = [
|
||||
"event-listener",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "atk"
|
||||
version = "0.18.2"
|
||||
|
@ -385,7 +376,6 @@ dependencies = [
|
|||
"dyn-any",
|
||||
"glam",
|
||||
"kurbo",
|
||||
"log",
|
||||
"serde",
|
||||
]
|
||||
|
||||
|
@ -1359,7 +1349,6 @@ version = "0.3.1"
|
|||
dependencies = [
|
||||
"dyn-any-derive",
|
||||
"glam",
|
||||
"log",
|
||||
"reqwest",
|
||||
]
|
||||
|
||||
|
@ -1472,12 +1461,6 @@ dependencies = [
|
|||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "event-listener"
|
||||
version = "2.5.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
|
||||
|
||||
[[package]]
|
||||
name = "exr"
|
||||
version = "1.73.0"
|
||||
|
@ -2144,19 +2127,15 @@ dependencies = [
|
|||
name = "graph-craft"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"bezier-rs",
|
||||
"bytemuck",
|
||||
"criterion",
|
||||
"dyn-any",
|
||||
"futures",
|
||||
"glam",
|
||||
"graph-craft",
|
||||
"graphene-core",
|
||||
"iai-callgrind",
|
||||
"js-sys",
|
||||
"log",
|
||||
"num-traits",
|
||||
"pretty_assertions",
|
||||
"reqwest",
|
||||
"rustc-hash 2.1.1",
|
||||
|
@ -2166,7 +2145,6 @@ dependencies = [
|
|||
"tokio",
|
||||
"url",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"web-sys",
|
||||
"wgpu-executor",
|
||||
"winit",
|
||||
|
@ -2176,24 +2154,16 @@ dependencies = [
|
|||
name = "graphene-cli"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bezier-rs",
|
||||
"bitflags 2.9.0",
|
||||
"chrono",
|
||||
"clap",
|
||||
"dyn-any",
|
||||
"fern",
|
||||
"futures",
|
||||
"glam",
|
||||
"graph-craft",
|
||||
"graphene-core",
|
||||
"graphene-std",
|
||||
"image",
|
||||
"interpreted-executor",
|
||||
"log",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
"wasm-bindgen",
|
||||
"wgpu",
|
||||
"wgpu-executor",
|
||||
]
|
||||
|
@ -2210,7 +2180,6 @@ dependencies = [
|
|||
"glam",
|
||||
"half",
|
||||
"image",
|
||||
"js-sys",
|
||||
"kurbo",
|
||||
"log",
|
||||
"math-parser",
|
||||
|
@ -2230,7 +2199,6 @@ dependencies = [
|
|||
"tokio",
|
||||
"usvg",
|
||||
"vello",
|
||||
"wasm-bindgen",
|
||||
"web-sys",
|
||||
"wgpu",
|
||||
]
|
||||
|
@ -2249,8 +2217,6 @@ dependencies = [
|
|||
"graph-craft",
|
||||
"graphene-core",
|
||||
"image",
|
||||
"image-compare",
|
||||
"js-sys",
|
||||
"log",
|
||||
"ndarray",
|
||||
"node-macro",
|
||||
|
@ -2258,21 +2224,14 @@ dependencies = [
|
|||
"rand 0.9.0",
|
||||
"rand_chacha 0.9.0",
|
||||
"reqwest",
|
||||
"resvg",
|
||||
"rustc-hash 2.1.1",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
"url",
|
||||
"usvg",
|
||||
"vello",
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
"web-sys",
|
||||
"wgpu",
|
||||
"wgpu-executor",
|
||||
"wgpu-types",
|
||||
"winit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -2286,8 +2245,6 @@ dependencies = [
|
|||
"graphite-editor",
|
||||
"log",
|
||||
"ron",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tauri",
|
||||
"tauri-build",
|
||||
"tauri-plugin-http",
|
||||
|
@ -2299,10 +2256,8 @@ dependencies = [
|
|||
name = "graphite-editor"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"async-mutex",
|
||||
"bezier-rs",
|
||||
"bitflags 2.9.0",
|
||||
"convert_case 0.7.1",
|
||||
"derivative",
|
||||
"dyn-any",
|
||||
"env_logger",
|
||||
|
@ -2336,7 +2291,6 @@ dependencies = [
|
|||
name = "graphite-proc-macros"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"convert_case 0.7.1",
|
||||
"graphite-editor",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -2348,8 +2302,6 @@ dependencies = [
|
|||
name = "graphite-wasm"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"bezier-rs",
|
||||
"futures",
|
||||
"glam",
|
||||
"graph-craft",
|
||||
"graphene-core",
|
||||
|
@ -2357,7 +2309,6 @@ dependencies = [
|
|||
"js-sys",
|
||||
"log",
|
||||
"math-parser",
|
||||
"ron",
|
||||
"serde",
|
||||
"serde-wasm-bindgen",
|
||||
"wasm-bindgen",
|
||||
|
@ -2896,18 +2847,6 @@ dependencies = [
|
|||
"zune-jpeg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "image-compare"
|
||||
version = "0.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "96cd73af13ae2e7220a1c02fe7d6bb53be50612ba7fabbb5c88e7753645f1f3c"
|
||||
dependencies = [
|
||||
"image",
|
||||
"itertools 0.12.1",
|
||||
"rayon",
|
||||
"thiserror 1.0.69",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "image-webp"
|
||||
version = "0.1.3"
|
||||
|
@ -2996,16 +2935,12 @@ dependencies = [
|
|||
"dyn-any",
|
||||
"futures",
|
||||
"glam",
|
||||
"glob",
|
||||
"graph-craft",
|
||||
"graphene-core",
|
||||
"graphene-std",
|
||||
"iai-callgrind",
|
||||
"log",
|
||||
"num-traits",
|
||||
"once_cell",
|
||||
"serde",
|
||||
"wgpu",
|
||||
"wgpu-executor",
|
||||
]
|
||||
|
||||
|
@ -3410,7 +3345,6 @@ version = "0.0.0"
|
|||
dependencies = [
|
||||
"criterion",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"num-complex",
|
||||
"pest",
|
||||
"pest_derive",
|
||||
|
@ -3767,15 +3701,6 @@ dependencies = [
|
|||
"syn 2.0.99",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nvtx"
|
||||
version = "1.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ad2e855e8019f99e4b94ac33670eb4e4f570a2e044f3749a0b2c7f83b841e52c"
|
||||
dependencies = [
|
||||
"cc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc"
|
||||
version = "0.2.7"
|
||||
|
@ -7492,20 +7417,11 @@ name = "wgpu-executor"
|
|||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64 0.22.1",
|
||||
"bytemuck",
|
||||
"dyn-any",
|
||||
"futures",
|
||||
"futures-intrusive",
|
||||
"glam",
|
||||
"graphene-core",
|
||||
"half",
|
||||
"log",
|
||||
"node-macro",
|
||||
"num-traits",
|
||||
"nvtx",
|
||||
"serde",
|
||||
"spirv",
|
||||
"vello",
|
||||
"web-sys",
|
||||
"wgpu",
|
||||
|
|
|
@ -43,7 +43,6 @@ node-macro = { path = "node-graph/node-macro" }
|
|||
# Workspace dependencies
|
||||
rustc-hash = "2.0"
|
||||
bytemuck = { version = "1.13", features = ["derive"] }
|
||||
async-trait = "0.1"
|
||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||
serde_json = "1.0"
|
||||
serde-wasm-bindgen = "0.6"
|
||||
|
@ -55,7 +54,6 @@ bitflags = { version = "2.4", features = ["serde"] }
|
|||
ctor = "0.2"
|
||||
convert_case = "0.7"
|
||||
derivative = "2.2"
|
||||
tempfile = "3.6"
|
||||
thiserror = "2"
|
||||
anyhow = "1.0"
|
||||
proc-macro2 = "1"
|
||||
|
@ -65,7 +63,6 @@ chrono = "0.4"
|
|||
ron = "0.8"
|
||||
fastnoise-lite = "1.1"
|
||||
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git" }
|
||||
wgpu-types = "23"
|
||||
wgpu = "23"
|
||||
once_cell = "1.13" # Remove when `core::cell::LazyCell` (<https://doc.rust-lang.org/core/cell/struct.LazyCell.html>) is stabilized in Rust 1.80 and we bump our MSRV
|
||||
wasm-bindgen = "=0.2.100" # NOTICE: ensure this stays in sync with the `wasm-bindgen-cli` version in `website/content/volunteer/guide/project-setup/_index.md`. We pin this version because wasm-bindgen upgrades may break various things.
|
||||
|
@ -84,7 +81,6 @@ glam = { version = "0.29", default-features = false, features = ["serde"] }
|
|||
base64 = "0.22"
|
||||
image = { version = "0.25", default-features = false, features = ["png"] }
|
||||
rustybuzz = "0.20"
|
||||
spirv = "0.3"
|
||||
pretty_assertions = "1.4.1"
|
||||
fern = { version = "0.7", features = ["colored"] }
|
||||
num_enum = "0.7"
|
||||
|
|
|
@ -38,7 +38,6 @@ graphene-std = { path = "../node-graph/gstd", features = ["serde"] }
|
|||
js-sys = { workspace = true }
|
||||
log = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
convert_case = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
|
@ -65,7 +64,6 @@ web-sys = { workspace = true, features = [
|
|||
] }
|
||||
|
||||
# Required dependencies
|
||||
async-mutex = "1.4.0"
|
||||
spin = "0.9.8"
|
||||
|
||||
# Optional local dependencies
|
||||
|
|
|
@ -27,8 +27,6 @@ graphite-editor = { path = "../../editor", features = [
|
|||
] }
|
||||
|
||||
# Workspace dependencies
|
||||
serde_json = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
axum = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
tokio = { workspace = true, features = ["macros", "rt"] }
|
||||
|
|
|
@ -13,7 +13,7 @@ license = "Apache-2.0"
|
|||
[features]
|
||||
default = ["gpu"]
|
||||
gpu = ["editor/gpu"]
|
||||
tauri = ["ron", "editor/tauri"]
|
||||
tauri = [ "editor/tauri"]
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
@ -35,9 +35,7 @@ wasm-bindgen = { workspace = true }
|
|||
serde-wasm-bindgen = { workspace = true }
|
||||
js-sys = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
bezier-rs = { workspace = true }
|
||||
glam = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
math-parser = { workspace = true }
|
||||
wgpu = { workspace = true, features = [
|
||||
"fragile-send-sync-non-atomic-wasm",
|
||||
|
@ -50,9 +48,6 @@ web-sys = { workspace = true, features = [
|
|||
"IdleRequestOptions",
|
||||
] }
|
||||
|
||||
# Optional workspace dependencies
|
||||
ron = { workspace = true, optional = true }
|
||||
|
||||
[package.metadata.wasm-pack.profile.dev]
|
||||
wasm-opt = false
|
||||
|
||||
|
@ -81,3 +76,6 @@ dwarf-debug-info = true
|
|||
unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(wasm_bindgen_unstable_test_coverage)',
|
||||
] }
|
||||
|
||||
[package.metadata.cargo-shear]
|
||||
ignored = ["wgpu"]
|
||||
|
|
|
@ -23,4 +23,3 @@ dyn-any = { version = "0.3.0", path = "../dyn-any", optional = true }
|
|||
# Optional workspace dependencies
|
||||
kurbo = { workspace = true, optional = true }
|
||||
serde = { workspace = true, optional = true }
|
||||
log = { workspace = true, optional = true }
|
||||
|
|
|
@ -17,7 +17,7 @@ std = ["alloc", "rc", "glam/default"]
|
|||
large-atomics = []
|
||||
alloc = []
|
||||
derive = ["dyn-any-derive"]
|
||||
log-bad-types = ["log"]
|
||||
log-bad-types = []
|
||||
# Opt into impls for Rc<T> and Arc<T>.
|
||||
rc = []
|
||||
# Opt into impls for some glam types
|
||||
|
@ -28,7 +28,6 @@ glam = ["dep:glam"]
|
|||
dyn-any-derive = { path = "derive", optional = true }
|
||||
|
||||
# Optional dependencies
|
||||
log = { version = "0.4", optional = true }
|
||||
glam = { version = "0.29", optional = true, default-features = false }
|
||||
reqwest = { version = "0.12", optional = true, default-features = false }
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ pest_derive = "2.7.11"
|
|||
thiserror = "2.0"
|
||||
lazy_static = "1.5"
|
||||
num-complex = "0.4"
|
||||
log = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.5"
|
||||
|
|
|
@ -67,15 +67,13 @@ serde = { workspace = true, optional = true, features = ["derive"] }
|
|||
ctor = { workspace = true, optional = true }
|
||||
log = { workspace = true, optional = true }
|
||||
rand_chacha = { workspace = true, optional = true }
|
||||
bezier-rs = { workspace = true, optional = true, features = ["log"] }
|
||||
bezier-rs = { workspace = true, optional = true }
|
||||
kurbo = { workspace = true, optional = true }
|
||||
base64 = { workspace = true, optional = true }
|
||||
vello = { workspace = true, optional = true }
|
||||
wgpu = { workspace = true, optional = true }
|
||||
specta = { workspace = true, optional = true }
|
||||
rustybuzz = { workspace = true, optional = true }
|
||||
wasm-bindgen = { workspace = true, optional = true }
|
||||
js-sys = { workspace = true, optional = true }
|
||||
web-sys = { workspace = true, optional = true, features = [
|
||||
"HtmlCanvasElement",
|
||||
] }
|
||||
|
|
|
@ -23,14 +23,10 @@ dyn-any = { path = "../../libraries/dyn-any", features = [
|
|||
|
||||
# Workspace dependencies
|
||||
graphene-core = { workspace = true, features = ["std"] }
|
||||
num-traits = { workspace = true }
|
||||
log = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
glam = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
bezier-rs = { workspace = true }
|
||||
specta = { workspace = true }
|
||||
bytemuck = { workspace = true }
|
||||
rustc-hash = { workspace = true }
|
||||
url = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
|
@ -46,7 +42,6 @@ serde_json = { workspace = true, optional = true }
|
|||
web-sys = { workspace = true }
|
||||
js-sys = { workspace = true }
|
||||
wasm-bindgen = { workspace = true }
|
||||
wasm-bindgen-futures = { workspace = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
winit = { workspace = true }
|
||||
|
|
|
@ -26,23 +26,13 @@ interpreted-executor = { path = "../interpreted-executor" }
|
|||
|
||||
# Workspace dependencies
|
||||
log = { workspace = true }
|
||||
bitflags = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
bezier-rs = { workspace = true }
|
||||
glam = { workspace = true }
|
||||
graph-craft = { workspace = true, features = ["loading"] }
|
||||
dyn-any = { workspace = true }
|
||||
graphene-core = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
fern = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
wgpu = { workspace = true }
|
||||
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
||||
image = { workspace = true, default-features = false, features = [
|
||||
"bmp",
|
||||
"png",
|
||||
] }
|
||||
|
||||
# Required dependencies
|
||||
clap = { version = "4.5.31", features = ["cargo", "derive"] }
|
||||
|
@ -50,5 +40,5 @@ clap = { version = "4.5.31", features = ["cargo", "derive"] }
|
|||
# Optional local dependencies
|
||||
wgpu-executor = { path = "../wgpu-executor", optional = true }
|
||||
|
||||
# Optional workspace dependencies
|
||||
wasm-bindgen = { workspace = true, optional = true }
|
||||
[package.metadata.cargo-shear]
|
||||
ignored = ["wgpu-executor"]
|
||||
|
|
|
@ -9,12 +9,12 @@ license = "MIT OR Apache-2.0"
|
|||
[features]
|
||||
default = ["wasm", "imaginate"]
|
||||
gpu = [ "graphene-core/gpu" ]
|
||||
wgpu = ["gpu", "dep:wgpu", "graph-craft/wgpu"]
|
||||
wasm = ["wasm-bindgen", "web-sys", "js-sys"]
|
||||
imaginate = ["image/png", "base64", "js-sys", "web-sys", "wasm-bindgen-futures"]
|
||||
image-compare = ["dep:image-compare"]
|
||||
vello = ["dep:vello", "resvg", "gpu"]
|
||||
resvg = ["dep:resvg"]
|
||||
wgpu = ["gpu", "graph-craft/wgpu"]
|
||||
wasm = ["wasm-bindgen", "web-sys"]
|
||||
imaginate = ["image/png", "base64", "web-sys", "wasm-bindgen-futures"]
|
||||
image-compare = []
|
||||
vello = ["dep:vello", "gpu"]
|
||||
resvg = []
|
||||
wayland = ["graph-craft/wayland"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -35,13 +35,8 @@ bezier-rs = { workspace = true, features = ["serde"] }
|
|||
path-bool = { workspace = true, features = ["parsing"] }
|
||||
glam = { workspace = true, features = ["serde"] }
|
||||
node-macro = { workspace = true }
|
||||
rustc-hash = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
wgpu-types = { workspace = true }
|
||||
winit = { workspace = true }
|
||||
url = { workspace = true }
|
||||
usvg = { workspace = true }
|
||||
rand_chacha = { workspace = true }
|
||||
rand = { workspace = true, default-features = false, features = [
|
||||
|
@ -56,13 +51,10 @@ image = { workspace = true, default-features = false, features = [
|
|||
|
||||
# Optional workspace dependencies
|
||||
base64 = { workspace = true, optional = true }
|
||||
wgpu = { workspace = true, optional = true }
|
||||
wasm-bindgen = { workspace = true, optional = true }
|
||||
js-sys = { workspace = true, optional = true }
|
||||
wasm-bindgen-futures = { workspace = true, optional = true }
|
||||
tokio = { workspace = true, optional = true, features = ["fs", "io-std"] }
|
||||
vello = { workspace = true, optional = true }
|
||||
resvg = { workspace = true, optional = true }
|
||||
serde = { workspace = true, optional = true, features = ["derive"] }
|
||||
web-sys = { workspace = true, optional = true, features = [
|
||||
"Window",
|
||||
|
@ -77,7 +69,6 @@ web-sys = { workspace = true, optional = true, features = [
|
|||
] }
|
||||
|
||||
# Optional dependencies
|
||||
image-compare = { version = "0.4.1", optional = true }
|
||||
ndarray = "0.16.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -18,9 +18,7 @@ wgpu-executor = { path = "../wgpu-executor" }
|
|||
# Workspace dependencies
|
||||
graphene-core = { workspace = true, features = ["std"] }
|
||||
dyn-any = { workspace = true, features = ["log-bad-types", "glam"] }
|
||||
num-traits = { workspace = true }
|
||||
log = { workspace = true }
|
||||
wgpu = { workspace = true }
|
||||
glam = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
once_cell = { workspace = true }
|
||||
|
@ -34,8 +32,6 @@ graph-craft = { workspace = true, features = ["loading"] }
|
|||
|
||||
# Required dependencies
|
||||
criterion = { version = "0.5", features = ["html_reports"]}
|
||||
glob = "0.3"
|
||||
iai-callgrind = { version = "0.12.3"}
|
||||
|
||||
# Benchmarks
|
||||
[[bench]]
|
||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
|
|||
|
||||
[features]
|
||||
default = []
|
||||
profiling = ["nvtx"]
|
||||
profiling = []
|
||||
passthrough = []
|
||||
|
||||
[dependencies]
|
||||
|
@ -14,26 +14,13 @@ passthrough = []
|
|||
graphene-core = { workspace = true, features = ["std", "alloc", "gpu", "wgpu"] }
|
||||
dyn-any = { workspace = true, features = ["log-bad-types", "rc", "glam"] }
|
||||
node-macro = { workspace = true }
|
||||
num-traits = { workspace = true }
|
||||
log = { workspace = true }
|
||||
glam = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
bytemuck = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
wgpu = { workspace = true, features = [
|
||||
"spirv",
|
||||
"strict_asserts",
|
||||
] }
|
||||
spirv = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
web-sys = { workspace = true, features = ["HtmlCanvasElement"] }
|
||||
winit = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
vello = { workspace = true }
|
||||
|
||||
# Required dependencies
|
||||
futures-intrusive = { version = "0.5.0", features = ["alloc"] }
|
||||
half = "2.4.1"
|
||||
|
||||
# Optional dependencies
|
||||
nvtx = { version = "1.3", optional = true }
|
||||
|
|
|
@ -23,7 +23,6 @@ serde-discriminant = []
|
|||
proc-macro2 = { workspace = true }
|
||||
syn = { workspace = true }
|
||||
quote = { workspace = true }
|
||||
convert_case = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
# Local dependencies
|
||||
|
@ -31,3 +30,6 @@ editor = { path = "../editor", package = "graphite-editor" }
|
|||
|
||||
# Workspace dependencies
|
||||
serde = { workspace = true }
|
||||
|
||||
[package.metadata.cargo-shear]
|
||||
ignored = ["graphite-editor"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue