Skip to content

Commit

Permalink
Ignore profiling dependency from cargo machete. It looks unused, as i…
Browse files Browse the repository at this point in the history
…t's only referenced in order to enable it's features which causes instrumentation to be emitted
  • Loading branch information
teddemunnik committed Oct 27, 2024
1 parent 4e37c17 commit a6dc835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/egui_demo_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ rust-version.workspace = true
publish = false
default-run = "egui_demo_app"

[package.metadata.cargo-machete]
ignored = ["profiling"]

[lints]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions examples/puffin_profiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2021"
rust-version = "1.76"
publish = false

[package.metadata.cargo-machete]
ignored = ["profiling"]

[lints]
workspace = true

Expand Down

0 comments on commit a6dc835

Please sign in to comment.