mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 07:48:12 +08: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:
committed by
Keavon Chambers
parent
3489f9ddb1
commit
14d90195ad
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user