Skip to content

Commit

Permalink
Ignore some false positives in cargo machete
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 26, 2024
1 parent 032af89 commit 94c89f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/custom_style/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ publish = false
[lints]
workspace = true


[package.metadata.cargo-machete]
ignored = ["image"] # We need the .png feature


[dependencies]
eframe = { workspace = true, features = [
"default",
Expand Down
4 changes: 4 additions & 0 deletions examples/hello_world_par/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ publish = false
workspace = true


[package.metadata.cargo-machete]
ignored = ["winit"] # Just enable some features of it; see below


[dependencies]
eframe = { workspace = true, default-features = false, features = [
# accesskit struggles with threading
Expand Down
2 changes: 2 additions & 0 deletions tests/test_egui_extras_compilation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ publish = false
[lints]
workspace = true

[package.metadata.cargo-machete]
ignored = ["eframe", "egui_extras"] # We don't use them, just check that things compile

[dependencies]
eframe = { workspace = true, features = ["default", "persistence"] }
Expand Down

0 comments on commit 94c89f5

Please sign in to comment.