refactor: ⬆️ Update some dependencies

This commit is contained in:
Riccardo Zaglia 2023-10-15 21:33:09 +08:00
parent e96b5feaf2
commit de8ee832b3
12 changed files with 486 additions and 483 deletions

933
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -31,12 +31,12 @@ jni = "0.21"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"
jni = "0.21"
ndk = { git = "https://github.com/rust-mobile/ndk", features = [
ndk = { version = "0.8", features = [
"api-level-26",
"media",
] }
ndk-context = "0.1"
ndk-sys = { git = "https://github.com/rust-mobile/ndk" }
ndk-sys = "0.5"
oboe = "0.5" # todo: remove once AudioThread shutdown crash is fixed
[target.'cfg(not(target_os = "android"))'.dependencies]
@ -46,6 +46,6 @@ env_logger = "0.10"
local-ip-address = "0.5"
[build-dependencies]
bindgen = "0.66"
bindgen = "0.68"
cc = { version = "1", features = ["parallel"] }
walkdir = "2"

View File

@ -122,7 +122,7 @@ impl VideoDecoderSource {
queued_image.timestamp,
queued_image
.image
.get_hardware_buffer()
.hardware_buffer()
.unwrap()
.as_ptr()
.cast(),
@ -211,7 +211,7 @@ pub fn video_decoder_split(
Ok(image @ Some(_)) => {
let image = image.take().unwrap();
let timestamp =
Duration::from_nanos(image.get_timestamp().unwrap() as u64);
Duration::from_nanos(image.timestamp().unwrap() as u64);
dequeued_frame_callback(timestamp);
@ -250,7 +250,7 @@ pub fn video_decoder_split(
decoder
.configure(
&format,
Some(&image_reader.get_window().unwrap()),
Some(&image_reader.window().unwrap()),
MediaCodecDirection::Decoder,
)
.unwrap();

View File

@ -12,6 +12,6 @@ alvr_client_core.workspace = true
alvr_packets.workspace = true
alvr_session.workspace = true
eframe = "0.22"
eframe = "0.23"
env_logger = "0.10"
rand = "0.8"

View File

@ -22,4 +22,4 @@ settings-schema = { git = "https://github.com/alvr-org/settings-schema-rs", rev
# settings-schema = { path = "../../../../settings-schema-rs/settings-schema" }
[target.'cfg(not(target_os = "android"))'.dependencies]
rfd = { version = "0.11", optional = true }
rfd = { version = "0.12", optional = true }

View File

@ -16,7 +16,7 @@ alvr_gui_common.workspace = true
bincode = "1"
chrono = "0.4"
eframe = "0.22"
eframe = "0.23"
env_logger = "0.10"
ico = "0.3"
serde = { version = "1", features = ["derive"] }
@ -32,7 +32,7 @@ ureq = { version = "2", features = ["json"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
ewebsock = "0.2"
ewebsock = "0.4"
futures = "0.3"
gloo-net = "0.4"
instant = { version = "0.1", features = ["wasm-bindgen"] }
@ -40,7 +40,7 @@ wasm-bindgen-futures = "0.4"
wasm-logger = "0.2"
[target.'cfg(target_os = "linux")'.dependencies]
wgpu = "0.16"
wgpu = "0.17"
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"

View File

@ -1,6 +1,6 @@
use alvr_packets::{FirewallRulesAction, ServerRequest};
use eframe::{
egui::{Button, Label, Layout, RichText, Ui},
egui::{Button, Label, Layout, OpenUrl, RichText, Ui},
emath::Align,
};
@ -118,7 +118,7 @@ On Linux some feaures are not working and should be disabled (foveated encoding
|ui| {
if ui.button("Download VB-Cable").clicked() {
ui.ctx()
.output_mut(|output| output.open_url("https://vb-audio.com/Cable/"));
.open_url(OpenUrl::same_tab("https://vb-audio.com/Cable/"));
}
},
),

View File

@ -146,7 +146,7 @@ impl StatisticsTab {
min: to_screen_trans * pos2(i as f32, offset + value * 1000.0),
max: to_screen_trans * pos2(i as f32 + 2.0, offset),
},
Rounding::none(),
Rounding::ZERO,
*color,
);
offset += value * 1000.0;

View File

@ -9,4 +9,4 @@ license.workspace = true
[dependencies]
alvr_common.workspace = true
egui = "0.22"
egui = "0.23"

View File

@ -10,7 +10,7 @@ alvr_common.workspace = true
alvr_gui_common.workspace = true
anyhow = "1"
eframe = "0.22"
eframe = "0.23"
futures-util = "0.3.28"
open = "5"
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream", "json"] }

View File

@ -54,7 +54,7 @@ sysinfo = { version = "0.29", default-features = false }
[build-dependencies]
alvr_filesystem = { path = "../filesystem" }
bindgen = "0.66"
bindgen = "0.68"
cc = { version = "1", features = ["parallel"] }
walkdir = "2"

View File

@ -14,7 +14,7 @@ alvr_common.workspace = true
alvr_filesystem.workspace = true
[build-dependencies]
bindgen = "0.66"
bindgen = "0.68"
cc = { version = "1", features = ["parallel"] }
pkg-config = "0.3"
walkdir = "2"