-
Notifications
You must be signed in to change notification settings - Fork 307
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
Make clap
optional for build scripts
#31
Comments
I'd like to do this too. rust-bindgen has the same problem. Unfortunately - rust-lang/cargo#1982 |
You can use features for this. |
Was able to find a potential workaround here for the
Unfortunately that would require all users to install the cbindgen binary with |
Looks like this was already done, here: 6748b78 And you can disable building with clap by disabling the default features. E.g. this in your own |
There is no need in
clap
when we usecbindgen
in a build script.The text was updated successfully, but these errors were encountered: