upgrade some crates, fix scrap benchmark on mac, fix compile issue on

osx10.14
This commit is contained in:
rustdesk
2023-03-09 17:22:14 +08:00
parent 08f9b3760f
commit 61679a1072
13 changed files with 1108 additions and 907 deletions

View File

@@ -42,7 +42,7 @@ quest = "0.3"
[build-dependencies]
target_build_utils = "0.3"
bindgen = "0.59"
bindgen = "0.64"
[target.'cfg(target_os = "linux")'.dependencies]
dbus = { version = "0.9", optional = true }

View File

@@ -83,7 +83,7 @@ impl crate::TraitCapturer for Capturer {
}
}
pub struct Frame<'a>(quartz::Frame, PhantomData<&'a [u8]>);
pub struct Frame<'a>(pub quartz::Frame, PhantomData<&'a [u8]>);
impl<'a> ops::Deref for Frame<'a> {
type Target = [u8];