Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version bump #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vpx-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vpx-sys"
version = "0.1.1"
version = "0.1.2"
authors = ["Luca Barbato <[email protected]>"]
edition = "2018"
license = "MIT"
Expand All @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions vpx-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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();
Expand Down
Loading