diff --git a/Cargo.toml b/Cargo.toml index ea12ebb..d024be5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,14 +22,14 @@ log = "0.4" [dev-dependencies] async-std = "1.2" -env_logger = "0.7" +env_logger = "0.11" futures= "0.3" structopt = "0.3" [build-dependencies] cc = "1.0" -rand = "0.8" -bindgen = "0.69" +rand = "0.9" +bindgen = "0.72" pkg-config = { version = "0.3", optional = true } [features] diff --git a/build.rs b/build.rs index 4049a31..18095f7 100644 --- a/build.rs +++ b/build.rs @@ -78,7 +78,7 @@ fn main() { } let bindings = builder .header("xdelta3/xdelta3/xdelta3.h") - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .allowlist_function("xd3_.*") .allowlist_type("xd3_.*") .rustified_enum("xd3_.*")