mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 00:34:40 +01:00
bump dependencies
This commit is contained in:
parent
a04d017689
commit
9351815394
4 changed files with 443 additions and 443 deletions
866
Cargo.lock
generated
866
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@ version = "0.1.0"
|
|||
[dependencies]
|
||||
adw = {package = "libadwaita", version = "0.1.0"}
|
||||
anyhow = "1.0"
|
||||
ashpd = {version = "0.2.0-beta-1", features = ["feature_pipewire", "feature_gtk4"]}
|
||||
ashpd = {version = "0.3", features = ["feature_pipewire", "feature_gtk4"]}
|
||||
async-std = "1.10"
|
||||
binascii = "0.1"
|
||||
diesel = {version = "1.4", features = ["sqlite", "r2d2"]}
|
||||
|
@ -19,7 +19,7 @@ gtk = {package = "gtk4", version = "0.4"}
|
|||
gtk-macros = "0.3"
|
||||
search-provider = "0.3"
|
||||
hex = { version = "0.4.3", features = [ "serde" ] }
|
||||
image = "0.23"
|
||||
image = "0.24"
|
||||
log = "0.4"
|
||||
once_cell = "1.9"
|
||||
percent-encoding = "2.1"
|
||||
|
@ -37,7 +37,7 @@ unicase = "2.6"
|
|||
url = "2.2"
|
||||
zbar-rust = "0.0"
|
||||
svg_metadata = "0.4"
|
||||
scrypt = { version = "0.8.1", default-features = false }
|
||||
scrypt = { version = "0.10", default-features = false }
|
||||
aes-gcm = "0.9.4"
|
||||
base64 = "0.13.0"
|
||||
uuid = { version = "0.8.2", features = ["v4"] }
|
||||
uuid = { version = "0.8", features = ["v4"] }
|
||||
|
|
|
@ -49,7 +49,7 @@ mod screenshot {
|
|||
Ok(gio::File::for_uri(&uri))
|
||||
}
|
||||
|
||||
pub async fn stream() -> Result<Option<(RawFd, u32)>> {
|
||||
pub async fn stream() -> Result<Option<(RawFd, Option<u32>)>> {
|
||||
let connection = zbus::Connection::session().await?;
|
||||
let proxy = ashpd::desktop::camera::CameraProxy::new(&connection).await?;
|
||||
if !proxy.is_camera_present().await? {
|
||||
|
|
|
@ -115,12 +115,16 @@ impl CameraPaintable {
|
|||
paintable
|
||||
}
|
||||
|
||||
pub fn set_pipewire_node_id<F: AsRawFd>(&self, fd: F, node_id: u32) {
|
||||
pub fn set_pipewire_node_id<F: AsRawFd>(&self, fd: F, node_id: Option<u32>) {
|
||||
let raw_fd = fd.as_raw_fd();
|
||||
log::debug!("Loading PipeWire Node ID: {} with FD: {}", node_id, raw_fd);
|
||||
let pipewire_element = gst::ElementFactory::make("pipewiresrc", None).unwrap();
|
||||
pipewire_element.set_property("fd", &raw_fd);
|
||||
pipewire_element.set_property("path", &node_id.to_string());
|
||||
if let Some(node_id) = node_id {
|
||||
pipewire_element.set_property("path", &node_id.to_string());
|
||||
log::debug!("Loading PipeWire Node ID: {} with FD: {}", node_id, raw_fd);
|
||||
} else {
|
||||
log::debug!("Loading PipeWire with FD: {}", raw_fd);
|
||||
}
|
||||
self.init_pipeline(pipewire_element);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue