I have workspace and two particular crates in it:
lib2 depend on
lib1. The problem is that when I run
cargo build -p lib2 and then
cargo build -p lib1 the rebuild happens.
lib1 build during build of
lib2 and then it rebuilds again after
cargo build -p lib1.
My only idea is features, I mean the one of dependency of
lib1 should have
when I run
cargo build -p lib1 and
feature set2 when build
feature set1 !=
But which one?
cargo +beta tree -e features -p for
but I can not automate comparing of features set,
and manual checking is showing that they are the same.
May be I missing something, and for example
cargo +beta tree -e features not work as expecting,
and doesn't show set of feature for particular crate, instead it shows feature set for whole tree?