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:
@@ -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"]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user