Print features of dependency crates in neard --version
#11176
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
neard --version
#11176
#11166 introduced printing enabled cargo features in the output of
./neard --version
.For example:
It prints the features enabled directly for
neard
, but it doesn't print the ones enabled forneard's
dependencies, e.gnearcore
.It would be nice to print the features of dependencies as well.
Recently we had an issue where
nearcore/new_epoch_sync
was getting enabled even thoughneard/new_epoch_sync
wasn't enabled at all (zulip thread, pr with fix: #11158).Printing the features of dependencies would allow us to spot that the feature in
nearcore
is getting enabled and fix the problem immediately. Without that we had to spend a significant amount of time debugging whyneard
was behaving in a strange way.The text was updated successfully, but these errors were encountered: