Skip to content

Commit

Permalink
Disable bindgen default features (#3)
Browse files Browse the repository at this point in the history
Comment added by Michael Lass <bevan@bi-co.net>:
* While in bindgen 0.61 bindgen-cli was extracted and the dependency tree was reduced a lot, we still pull in unneeded dependencies. Explicitly specify runtime as the only required feature for bindgen.
* Simple version requirements are interpreted the same as caret requirements and their use is recommended.
  • Loading branch information
vorot93 committed Oct 25, 2022
1 parent a4f5a5b commit c3335c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ version = "0.1.0"
travis-ci = { repository = "michaellass/e2p-sys", branch = "master" }

[build-dependencies]
bindgen = "^0.61.0"
bindgen = { version = "0.61", default-features = false, features = ["runtime"] }
metadeps = "^1.1.2"
regex = "^1.3.9"

Expand Down

0 comments on commit c3335c3

Please sign in to comment.