You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[features]
default = []
source = ["syn", "quote"]
[[bin]]
name = "main_bin"
[[bin]]
name = "another_bin"required-features = ["source"]
If you only want to see the output for main_bin, there's no way to do this. In addition, you must specify --features source for cargo bloat to even start.
% cargo bloat --release --crates -n 0
error: target `another_bin` requires the features: `source`
Consider enabling them by passing e.g. `--features="source"`
The text was updated successfully, but these errors were encountered:
If, for example, you have a Cargo.toml like this:
If you only want to see the output for
main_bin
, there's no way to do this. In addition, you must specify--features source
forcargo bloat
to even start.The text was updated successfully, but these errors were encountered: