-
Notifications
You must be signed in to change notification settings - Fork 738
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
Disable feature logging and clap on default #2238
Conversation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Hmm, I am not sure we can do this. cargo clean
cargo build
cargo run results in:
I do not think we can require people to pass I think this PR would need rust-lang/cargo#1982 (comment) to be resolved first. Lines 53 to 54 in 18367d5
|
@kulp I don't think that can is a valid reason to keep the existing default feature set. Looking at the dependents of This means It will be great if |
Thanks! I am glad that there is an issue to resolve this! |
That seems reasonable, though may need some wrangling to get the tests working, since they use the cli args. |
☔ The latest upstream changes (presumably #2284) made this pull request unmergeable. Please resolve the merge conflicts. |
Closing this in favor of #2284. Feel free to reopen if you consider that something from here is missing there. |
This crate is very popular and depends by a lot of other crates, which uses the default feature set of this crate.
However, by default, bindgen pulls in clap and logging, two features that never get used when using as a build-dev but just waste more time to compile.
Thus I remove it from the default feature set.
Signed-off-by: Jiahao XU Jiahao_XU@outlook.com