diff --git a/.github/workflows/msrv-rust-toolchain.toml b/.github/workflows/msrv-rust-toolchain.toml index 7a3ec50b29efc..b169d31e6f55e 100644 --- a/.github/workflows/msrv-rust-toolchain.toml +++ b/.github/workflows/msrv-rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.59.0" +channel = "1.61.0" components = ["rustfmt", "rust-src"] diff --git a/Cargo.lock b/Cargo.lock index a26c92e4ceae1..cc9e69b42e12a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -485,7 +485,6 @@ dependencies = [ "log", "once_cell", "pulldown-cmark", - "retain_mut", "serde", "serde_json", "signal-hook", @@ -884,12 +883,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "retain_mut" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0" - [[package]] name = "ropey" version = "1.5.0" diff --git a/README.md b/README.md index ff0699c6d2e90..4d4a7ae602ee2 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,11 @@ Helix can be installed on MacOS through homebrew: brew install helix ``` +## Minimum Stable Rust Version (MSRV) Policy + +Helix follows the MSRV of firefox. +The current MSRV and future changes to the MSRV are listed in the [firefox documentation](https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html). + # Contributing Contributing guidelines can be found [here](./docs/CONTRIBUTING.md). diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index 0ebcb24fb9f1f..b36063e4e93ef 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -67,9 +67,6 @@ serde = { version = "1.0", features = ["derive"] } grep-regex = "0.1.10" grep-searcher = "0.1.10" -# Remove once retain_mut lands in stable rust -retain_mut = "0.1.7" - [target.'cfg(not(windows))'.dependencies] # https://github.com/vorner/signal-hook/issues/100 signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] } diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index 24d3b2888ba94..d125a6aa40bc1 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -365,10 +365,6 @@ impl Picker { .map(|(index, _option)| (index, 0)), ); } else if pattern.starts_with(&self.previous_pattern) { - // TODO: remove when retain_mut is in stable rust - #[allow(unused_imports, deprecated)] - use retain_mut::RetainMut; - // optimization: if the pattern is a more specific version of the previous one // then we can score the filtered set. #[allow(unstable_name_collisions)]