From 72853fa4077855f882efe88fe729abc695d97994 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 17 Mar 2026 11:52:09 +0100 Subject: [PATCH] Update MSRV to 1.92 --- .github/workflows/rust.yml | 6 +++--- Cargo.toml | 7 +++++-- clippy.toml | 2 +- rust-toolchain | 2 +- scripts/clippy_wasm/clippy.toml | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c3a660d..67887ff 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,7 +22,7 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: rust-docs, clippy, rustfmt - toolchain: 1.90.0 + toolchain: 1.92.0 override: true - name: Install packages (Linux) @@ -77,7 +77,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: 1.90.0 + toolchain: 1.92.0 override: true target: wasm32-unknown-unknown components: clippy,rustfmt @@ -102,6 +102,6 @@ jobs: - uses: actions/checkout@v3 - uses: EmbarkStudios/cargo-deny-action@v2 with: - rust-version: "1.90.0" + rust-version: "1.92.0" log-level: warn command: check diff --git a/Cargo.toml b/Cargo.toml index cdc0f3e..b166b92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ include = ["LICENSE-APACHE", "LICENSE-MIT", "**/*.rs", "Cargo.toml"] keywords = [] # TODO: fill in if you plan on publishing the crate license = "MIT OR Apache-2.0" repository = "https://github.com/rerun-io/new_repo_name" -rust-version = "1.90.0" +rust-version = "1.92.0" [workspace.dependencies] @@ -65,6 +65,7 @@ clear_with_drain = "warn" clone_on_ref_ptr = "warn" cloned_instead_of_copied = "warn" coerce_container_to_any = "warn" +comparison_chain = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" default_union_representation = "warn" @@ -74,6 +75,7 @@ disallowed_methods = "warn" # See clippy.toml disallowed_names = "warn" # See clippy.toml disallowed_script_idents = "warn" # See clippy.toml disallowed_types = "warn" # See clippy.toml +doc_broken_link = "warn" doc_comment_double_space_linebreaks = "warn" doc_include_without_cfg = "warn" doc_link_with_quotes = "warn" @@ -184,6 +186,7 @@ ref_patterns = "warn" rest_pat_in_fully_bound_structs = "warn" return_and_then = "warn" same_functions_in_if_condition = "warn" +self_only_used_in_recursion = "warn" semicolon_if_nothing_returned = "warn" set_contains_or_insert = "warn" should_panic_without_expect = "warn" @@ -205,7 +208,7 @@ trailing_empty_array = "warn" trait_duplication_in_bounds = "warn" transmute_ptr_to_ptr = "warn" tuple_array_conversions = "warn" -unchecked_duration_subtraction = "warn" +unchecked_time_subtraction = "warn" undocumented_unsafe_blocks = "warn" unimplemented = "warn" uninhabited_references = "warn" diff --git a/clippy.toml b/clippy.toml index 6a3d91d..20b38fc 100644 --- a/clippy.toml +++ b/clippy.toml @@ -5,7 +5,7 @@ # ----------------------------------------------------------------------------- # Section identical to scripts/clippy_wasm/clippy.toml: -msrv = "1.90.0" +msrv = "1.92.0" allow-unwrap-in-tests = true diff --git a/rust-toolchain b/rust-toolchain index ddf8fdf..32cbaf4 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -5,6 +5,6 @@ # to the user in the error, instead of "error: invalid channel name '[toolchain]'". [toolchain] -channel = "1.90.0" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145 +channel = "1.92.0" # Avoid specifying a patch version here; see https://github.com/emilk/eframe_template/issues/145 components = ["rustfmt", "clippy"] targets = ["wasm32-unknown-unknown"] diff --git a/scripts/clippy_wasm/clippy.toml b/scripts/clippy_wasm/clippy.toml index b0bc21d..c5fcd98 100644 --- a/scripts/clippy_wasm/clippy.toml +++ b/scripts/clippy_wasm/clippy.toml @@ -8,7 +8,7 @@ # ----------------------------------------------------------------------------- # Section identical to the main clippy.toml: -msrv = "1.90.0" +msrv = "1.92.0" allow-unwrap-in-tests = true