From 0d7cb9eb4a34f64e974af12b8a196e607e12dbed Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 28 Feb 2024 16:43:16 +0100 Subject: [PATCH 1/3] Bump dependencies --- vpx-sys/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpx-sys/Cargo.toml b/vpx-sys/Cargo.toml index c04836d..cbe3bfe 100644 --- a/vpx-sys/Cargo.toml +++ b/vpx-sys/Cargo.toml @@ -10,8 +10,8 @@ repository = "https://github.com/rust-av/vpx-rs" build = "build.rs" [build-dependencies] -bindgen = "0.60" -system-deps = "6.0" +bindgen = "0.69" +system-deps = "6.2" [package.metadata.system-deps] vpx = "1.5.0" From 7a3db3bd715871bcbfdb3cd23f9e0520ca1e3f5b Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 28 Feb 2024 16:48:48 +0100 Subject: [PATCH 2/3] Do not try to forget ret --- vpx-sys/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vpx-sys/src/lib.rs b/vpx-sys/src/lib.rs index 01abff0..c6ab0fd 100644 --- a/vpx-sys/src/lib.rs +++ b/vpx-sys/src/lib.rs @@ -9,7 +9,7 @@ include!(concat!(env!("OUT_DIR"), "/vpx.rs")); mod tests { use super::*; use std::ffi::CStr; - use std::mem::{self, MaybeUninit}; + use std::mem::MaybeUninit; use std::os::raw::c_ulong; #[test] fn version() { @@ -33,8 +33,7 @@ mod tests { if ret.is_null() { panic!("Image allocation failed"); } - #[allow(clippy::forget_copy)] - mem::forget(ret); // raw and ret are the same (ret does not implement Drop trait) + print!("{:#?}", raw); let mut cfg = MaybeUninit::uninit(); From 6aab89a76bfbd4be2e745c4e6f823f37919eaeab Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 28 Feb 2024 16:44:34 +0100 Subject: [PATCH 3/3] Prepare for release --- vpx-sys/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpx-sys/Cargo.toml b/vpx-sys/Cargo.toml index cbe3bfe..5e05621 100644 --- a/vpx-sys/Cargo.toml +++ b/vpx-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vpx-sys" -version = "0.1.1" +version = "0.1.2" authors = ["Luca Barbato "] edition = "2018" license = "MIT"