From 7438cb3891d3f33630a33b64b0dbd25efe2a223f Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 21 Feb 2025 12:42:50 +0100 Subject: [PATCH] Bump bindgen to 0.71 and release rlottie-sys 0.2.10 --- rlottie-sys/Cargo.toml | 13 ++++++------- rlottie-sys/build.rs | 3 ++- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rlottie-sys/Cargo.toml b/rlottie-sys/Cargo.toml index eee50622..6630546c 100644 --- a/rlottie-sys/Cargo.toml +++ b/rlottie-sys/Cargo.toml @@ -3,18 +3,17 @@ [package] workspace = ".." name = "rlottie-sys" -version = "0.2.9" -license = "MIT" +version = "0.2.10" +description = "A platform independent standalone library that plays Lottie Animation" include = ["src/**/*.rs", "/build.rs", "/wrapper.h", "/LICENSE"] -description = "A platform independent standalone library that plays Lottie Animation" -repository = "https://github.com/msrd0/rlottie-rs" -documentation = "https://docs.msrd0.de/rlottie-sys/0.2.9/rlottie_sys/" +license.workspace = true +repository.workspace = true edition = "2021" -rust-version = "1.56" +rust-version = "1.64" # bump version in build.rs as well links = "rlottie" [build-dependencies] -bindgen = { version = "0.68.1", features = ["prettyplease", "runtime"], default-features = false } +bindgen = { version = "0.71", features = ["prettyplease", "runtime"], default-features = false } pkg-config = "0.3.22" diff --git a/rlottie-sys/build.rs b/rlottie-sys/build.rs index a3e05371..58a624da 100644 --- a/rlottie-sys/build.rs +++ b/rlottie-sys/build.rs @@ -9,8 +9,9 @@ fn main() { let bindings = bindgen::Builder::default() .formatter(bindgen::Formatter::Prettyplease) .header("wrapper.h") - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .newtype_enum(".*") + .rust_target(bindgen::RustTarget::stable(64, 0).unwrap_or_else(|_| panic!())) .size_t_is_usize(true) .use_core() .generate()