chore: update dependencies and bindgen usage

cargo test passes
This commit is contained in:
Nathan Fiedler
2021-04-09 18:21:08 -07:00
parent fe415039b1
commit 8f9526e5ae
2 changed files with 5 additions and 5 deletions

View File

@ -14,8 +14,8 @@ build = "build.rs"
libc = "0.2.70"
[build-dependencies]
bindgen = "0.56.0"
pkg-config = "0.3.17"
bindgen = "0.58"
pkg-config = "0.3"
[features]

View File

@ -1,5 +1,5 @@
/*
* Copyright 2016-2018 Nathan Fiedler
* Copyright 2016-2021 Nathan Fiedler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -149,8 +149,8 @@ fn main() {
.header(gen_h_path.to_str().unwrap())
.size_t_is_usize(true)
.parse_callbacks(Box::new(ignored_macros))
.blacklist_type("timex")
.blacklist_function("clock_adjtime");
.blocklist_type("timex")
.blocklist_function("clock_adjtime");
for d in include_dirs {
builder = builder.clang_arg(format!("-I{}", d.to_string_lossy()));