Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MSRV to 1.62 #2496

Merged
merged 2 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CICD

env:
MIN_SUPPORTED_RUST_VERSION: "1.60.0"
MIN_SUPPORTED_RUST_VERSION: "1.62.0"
CICD_INTERMEDIATES_DIR: "_cicd-intermediates"

on:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Various bash completion improvements, see #2310 (@scop)
- Disable completion of `cache` subcommand, see #2399 (@cyqsimon)
- Signifigantly improve startup performance on macOS, see #2442 (@BlackHoleFox)
- Bump MSRV to 1.62, see #2496 (@Enselic)

## Syntaxes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ binaries are also available: look for archives with `musl` in the file name.

### From source

If you want to build `bat` from source, you need Rust 1.60.0 or
If you want to build `bat` from source, you need Rust 1.62.0 or
higher. You can then use `cargo` to build everything:

```bash
Expand Down
2 changes: 1 addition & 1 deletion doc/README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ ansible-galaxy install aeimer.install_bat
### From source


`bat` をソースからビルドしたいならば、Rust 1.60.0 以上の環境が必要です。
`bat` をソースからビルドしたいならば、Rust 1.62.0 以上の環境が必要です。
`cargo` を使用してビルドすることができます:

```bash
Expand Down
2 changes: 1 addition & 1 deletion doc/README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ scoop install bat

### 소스에서

`bat`의 소스를 빌드하기 위해서는, Rust 1.60.0 이상이 필요합니다.
`bat`의 소스를 빌드하기 위해서는, Rust 1.62.0 이상이 필요합니다.
`cargo`를 이용해 전부 빌드할 수 있습니다:

```bash
Expand Down
2 changes: 1 addition & 1 deletion doc/README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ ansible-galaxy install aeimer.install_bat

### Из исходников

Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.60.0 или выше. После этого используйте `cargo`, чтобы все скомпилировать:
Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.62.0 или выше. После этого используйте `cargo`, чтобы все скомпилировать:

```bash
cargo install --locked bat
Expand Down
2 changes: 1 addition & 1 deletion doc/README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ scoop install bat

### 从源码编译

如果你想要自己构建`bat`,那么你需要安装有高于1.58.0版本的 Rust。
如果你想要自己构建`bat`,那么你需要安装有高于1.62.0版本的 Rust。

使用以下命令编译。

Expand Down
9 changes: 2 additions & 7 deletions src/paging.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
pub enum PagingMode {
Always,
QuitIfOneScreen,
#[default]
Never,
}

impl Default for PagingMode {
fn default() -> Self {
PagingMode::Never
}
}