Skip to content

Commit b50926f

Browse files
authored
Update Bindgen dependency (#9)
* Updated Bindgen Dependency * Constant was deprecated replaced with CargoCallbacks::new() as recommended
1 parent 15a8450 commit b50926f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ executable = ["env_logger", "clap", "format"]
3535
format = ["prettytable-rs"]
3636

3737
[build-dependencies]
38-
bindgen = "0.63.0"
38+
bindgen = "0.69.0"

Diff for: build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020
.header("wrapper.h")
2121
// Tell cargo to invalidate the built crate whenever any of the
2222
// included header files changed.
23-
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
23+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
2424
// Finish the builder and generate the bindings.
2525
.generate()
2626
// Unwrap the Result and panic on failure.

0 commit comments

Comments
 (0)