Skip to content

Commit

Permalink
Removed unneeded bindgen features
Browse files Browse the repository at this point in the history
Some features of bindgen are not needed when building the library and
lead to unused dependencies (mainly `clap`). This change deactivates all
`bindgen` features except for `runtime` which is required for build to
work.

See also rust-rocksdb/rust-rocksdb#491
  • Loading branch information
SeeSpring authored and sameer committed Jan 20, 2022
1 parent 9e0c735 commit bb00d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z3-sys/Cargo.toml
Expand Up @@ -16,8 +16,8 @@ homepage = "https://github.com/prove-rs/z3.rs"
repository = "https://github.com/prove-rs/z3.rs.git"

[build-dependencies]
bindgen = { version = "0.59", default-features = false, features = ["runtime"] }
cmake = { version = "0.1", optional = true }
bindgen = "0.58"

[features]
# Enable this feature to statically link our own build of Z3, rather than
Expand Down

0 comments on commit bb00d09

Please sign in to comment.