Skip to content

Commit

Permalink
Document MSRV policy
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalkuthe committed Sep 20, 2022
1 parent 5467c65 commit 1f9a334
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/msrv-rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.59.0"
channel = "1.61.0"
components = ["rustfmt", "rust-src"]
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
3 changes: 0 additions & 3 deletions helix-term/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

Expand Down
4 changes: 0 additions & 4 deletions helix-term/src/ui/picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,6 @@ impl<T: Item> Picker<T> {
.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)]
Expand Down

0 comments on commit 1f9a334

Please # to comment.