Skip to content

Commit

Permalink
Upgrade to 1.75 Rust
Browse files Browse the repository at this point in the history
- update Cargo deps
- upgrade Chrome to 120.0 version and Firefox to 121.0 version
  • Loading branch information
tyranron committed Jan 3, 2024
1 parent df69119 commit 5720708
Show file tree
Hide file tree
Showing 14 changed files with 189 additions and 235 deletions.
403 changes: 174 additions & 229 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ log = "0.4"
medea-client-api-proto = { version = "0.5", path = "proto/client-api" }
medea-macro = { version = "0.3", path = "crates/medea-macro" }
medea-reactive = { version = "0.1", path = "crates/medea-reactive" }
mockall = { version = "0.11", optional = true }
mockall = { version = "0.12", optional = true }
sealed = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ IMAGE_NAME := $(strip \
$(if $(call eq,$(image),medea-demo-edge),medea-demo,\
$(or $(image),medea-control-api-mock)))

RUST_VER := 1.74
CHROME_VERSION := 119.0
FIREFOX_VERSION := 119.0.1-driver0.33.0
RUST_VER := 1.75
CHROME_VERSION := 120.0
FIREFOX_VERSION := 121.0-driver0.33.0

CARGO_NDK_VER := 3.4.0-ndkr26b-rust$(RUST_VER)
ANDROID_TARGETS := aarch64-linux-android \
Expand Down
1 change: 1 addition & 0 deletions crates/medea-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions crates/medea-reactive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions e2e/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions mock/control-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions mock/control-api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions proto/client-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions proto/control-api/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions proto/control-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
clippy::pub_without_shorthand,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::read_zero_byte_vec,
clippy::readonly_write_lock,
clippy::redundant_clone,
clippy::redundant_type_annotations,
Expand Down
2 changes: 1 addition & 1 deletion src/platform/wasm/media_devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! [1]: https://w3.org/TR/mediacapture-streams#mediadevices
#![allow(clippy::unwrap_used)]
// TODO: False positive in function signatures, try remove on 1.74 Rust upgrade.
// TODO: False positive in function signatures, try remove on 1.76 Rust upgrade.
#![allow(clippy::let_underscore_untyped, let_underscore_drop)]

use std::{cell::RefCell, rc::Rc};
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/heartbeat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Inner {
/// Sends [`ClientMsg::Pong`] to a server.
///
/// If some error happen then it will be printed with [`log::error`].
// TODO: False positive, try remove on Rust 1.74 upgrade.
// TODO: False positive, try remove on Rust 1.76 upgrade.
#[allow(unused_must_use)]
fn send_pong(&self, n: u32) {
self.transport
Expand Down

0 comments on commit 5720708

Please sign in to comment.