Skip to content

Commit

Permalink
Fix: disable ncspot default features for xtask
Browse files Browse the repository at this point in the history
Pulling in ncspot without disabling default features includes a lot of
unnecessary dependencies, i.e. audio backends including dynamic linkage to
`libpulse`. As it's not required for `xtask` we should disable default features,
resulting in a much smaller binary.
  • Loading branch information
hrkfdn committed Mar 12, 2023
1 parent 1a0258f commit 7dce6b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ clap_complete = "4.1.4"
clap = "4.1.6"

[dependencies.ncspot]
default-features = false
path = ".."

0 comments on commit 7dce6b9

Please sign in to comment.