1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Replace cargo machete with cargo shear (#8094)

We've had good experiences with `cargo shear` at Rerun
This commit is contained in:
Emil Ernerfeldt
2026-04-13 17:48:43 +02:00
committed by GitHub
parent 170b46a0c8
commit db87c712a1
13 changed files with 42 additions and 33 deletions

View File

@@ -20,6 +20,9 @@ workspace = true
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.cargo-shear]
ignored = ["wayland-cursor"] # TODO(emilk): remove when we update winit
[features]
default = ["clipboard", "links", "wayland", "winit/default", "x11"]

View File

@@ -8,8 +8,8 @@ rust-version.workspace = true
publish = false
default-run = "egui_demo_app"
[package.metadata.cargo-machete]
ignored = ["profiling"]
[package.metadata.cargo-shear]
ignored = ["image", "profiling", "wasm-bindgen-futures"]
[lints]
workspace = true

View File

@@ -20,6 +20,9 @@ workspace = true
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.cargo-shear]
ignored = ["image"] # We need the png feature
[lib]

View File

@@ -66,10 +66,6 @@ document-features = { workspace = true, optional = true }
# Native:
winit = { workspace = true, optional = true, default-features = false, features = ["rwh_06"] }
# Web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { workspace = true, features = ["console"] }
wasm-bindgen.workspace = true
[dev-dependencies]
glutin = { workspace = true, default-features = true } # examples/pure_glow