Skip to content

Commit

Permalink
Merge pull request #178 from georust/dependabot/cargo/bindgen-0.58
Browse files Browse the repository at this point in the history
Update bindgen requirement from 0.57 to 0.58
  • Loading branch information
jdroenner authored Apr 25, 2021
2 parents 53f3a13 + d91e9f3 commit 9bd2b3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gdal-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ edition = "2018"
libc = "0.2"

[build-dependencies]
bindgen = { version = "0.57", optional = true }
bindgen = { version = "0.58", optional = true }
pkg-config = "0.3"
semver = "0.11"
12 changes: 6 additions & 6 deletions gdal-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ pub fn write_bindings(include_paths: Vec<String>, out_path: &Path) {
.header("wrapper.h")
.constified_enum_module(".*")
.ctypes_prefix("libc")
.whitelist_function("CPL.*")
.whitelist_function("GDAL.*")
.whitelist_function("OGR.*")
.whitelist_function("OSR.*")
.whitelist_function("OCT.*")
.whitelist_function("VSI.*");
.allowlist_function("CPL.*")
.allowlist_function("GDAL.*")
.allowlist_function("OGR.*")
.allowlist_function("OSR.*")
.allowlist_function("OCT.*")
.allowlist_function("VSI.*");

for path in include_paths {
builder = builder.clang_arg("-I");
Expand Down

0 comments on commit 9bd2b3d

Please sign in to comment.