-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optional rocksdb for frame-benchmarking-cli #7649
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also PR description has a typo, --no-default-feature
should be replaced with --default-feature = true
4fe1b92
to
21604a8
Compare
21604a8
to
04d8968
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the workspace rocksdb will still be enabled. Did you check if this doesn't build rocksdb
when you only install the benchmarking cli?
With |
/cmd fmt |
Command "fmt" has failed ❌! See logs here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Confirmed that cargo tree
does not show rocksdb anymore for frame-benchmarking-cli when run with --no-default-features
.
2edabef
sc-cli
brings rocksdb dependency into frame-benchmarking-cli when used withdefault-features = false
.This PR makes rocksdb deps optional that sc-cli brings in some of the crates. I think I covered all the crates that depend on sc-cli but please let me know if I missed any.
Fixes: #3793