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
In order to enable the correct features for each subcrate, cargo-scout should be able to get a list of available features, and intersect with a list of enabled features to run clippy with the correct set (and not add any feature that is not available)
Examples:
Example 1
crate has a feature named bar
cargo-scout is invoked as cargo-scout --features "foo bar"
command run
clippy should be run with the bar feature only.
Example 2
crate is in a workspace, has first subcrate named foo, a second named bar, and both define a feature named baz.
command run
cargo scout is invoked ad cargo-scout is invoked as cargo-scout --features "baz"
Both clippy commands must add the feature baz.
command run
cargo-scout is invoked as cargo-scout --features "foo/baz"
the feature baz should only be added to the clippy check on subcrate foo.
The text was updated successfully, but these errors were encountered:
In order to enable the correct features for each subcrate, cargo-scout should be able to get a list of available features, and intersect with a list of enabled features to run clippy with the correct set (and not add any feature that is not available)
Examples:
Example 1
crate has a feature named
bar
cargo-scout is invoked as
cargo-scout --features "foo bar"
command run
clippy should be run with the bar feature only.
Example 2
crate is in a workspace, has first subcrate named foo, a second named bar, and both define a feature named baz.
command run
cargo scout is invoked ad cargo-scout is invoked as
cargo-scout --features "baz"
Both clippy commands must add the feature baz.
command run
cargo-scout is invoked as
cargo-scout --features "foo/baz"
the feature baz should only be added to the clippy check on subcrate foo.
The text was updated successfully, but these errors were encountered: