Skip to content

boring-sys: Disable unnecessary bindgen dependencies#55

Merged
jyn514 merged 1 commit intocloudflare:masterfrom
olix0r:ver/bindgen-minimal
Nov 2, 2021
Merged

boring-sys: Disable unnecessary bindgen dependencies#55
jyn514 merged 1 commit intocloudflare:masterfrom
olix0r:ver/bindgen-minimal

Conversation

@olix0r
Copy link
Contributor

@olix0r olix0r commented Nov 2, 2021

bindgen's default features include dependencies like clap and
env_logger which are unnecessary when building boring-sys. When
using tools like cargo-deny to audit dependencies with mismatched
versions, these dependencies can easily conflict with application
dependencies.

This change disables bindgen's default features to avoid unnecessary
dependencies.

`bindgen`'s default features include dependencies like `clap` and
`env_logger` which are unnecessary when building `boring-sys`. When
using tools like `cargo-deny` to audit dependencies with mismatched
versions, these dependencies can easily conflict with application
dependencies.

This change disables `bindgen`'s default features to avoid unnecessary
dependencies.
Copy link
Contributor

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks! Just waiting for CI to run.

@jyn514 jyn514 merged commit dcbe157 into cloudflare:master Nov 2, 2021
@olix0r olix0r deleted the ver/bindgen-minimal branch November 2, 2021 21:07
@olix0r
Copy link
Contributor Author

olix0r commented Nov 2, 2021

@jyn514 Thanks for the quick review :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants