Skip to content

Commit

Permalink
Bump bindgen to 0.71 and release rlottie-sys 0.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 committed Feb 21, 2025
1 parent 912a6e6 commit 7438cb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
13 changes: 6 additions & 7 deletions rlottie-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 2 additions & 1 deletion rlottie-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7438cb3

Please sign in to comment.