aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2025-11-06 16:16:43 -0800
committerGitHub <noreply@github.com>2025-11-06 16:16:43 -0800
commit644099e8aefb2fcb6bf2dc71adbd43a68287ff2f (patch)
tree5df63697e56b537a1f90fcdcf950892f5edb5b27
parentfix(bash): work around a keybinding bug of Bash 5.1 (#2975) (diff)
downloadatuin-644099e8aefb2fcb6bf2dc71adbd43a68287ff2f.zip
chore: update to rust 1.91 (#2981)
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
-rw-r--r--.github/workflows/rust.yml12
-rw-r--r--Cargo.toml2
-rw-r--r--crates/atuin/src/command/client/search/inspector.rs4
-rw-r--r--flake.nix2
-rw-r--r--rust-toolchain.toml2
5 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 5498ed7e..33a1ff22 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -26,7 +26,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.90
+ toolchain: 1.91
- uses: actions/cache@v4
with:
@@ -97,7 +97,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.90
+ toolchain: 1.91
- uses: taiki-e/install-action@v2
name: Install nextest
@@ -127,7 +127,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.90
+ toolchain: 1.91
- uses: actions/cache@v4
with:
@@ -171,7 +171,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.90
+ toolchain: 1.91
- uses: taiki-e/install-action@v2
name: Install nextest
@@ -200,7 +200,7 @@ jobs:
- name: Install latest rust
uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.90
+ toolchain: 1.91
components: clippy
- uses: actions/cache@v4
@@ -223,7 +223,7 @@ jobs:
- name: Install latest rust
uses: dtolnay/rust-toolchain@master
with:
- toolchain: 1.90
+ toolchain: 1.91
components: rustfmt
- name: Format
diff --git a/Cargo.toml b/Cargo.toml
index 81aa08c8..c5eb6dae 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,7 @@ exclude = ["ui/backend"]
[workspace.package]
version = "18.10.0"
authors = ["Ellie Huxtable <ellie@atuin.sh>"]
-rust-version = "1.90"
+rust-version = "1.91"
license = "MIT"
homepage = "https://atuin.sh"
repository = "https://github.com/atuinsh/atuin"
diff --git a/crates/atuin/src/command/client/search/inspector.rs b/crates/atuin/src/command/client/search/inspector.rs
index 34d22eba..890f7ff7 100644
--- a/crates/atuin/src/command/client/search/inspector.rs
+++ b/crates/atuin/src/command/client/search/inspector.rs
@@ -138,8 +138,8 @@ pub fn draw_stats_table(
format_duration(avg_duration),
]),
Row::new(vec!["Exit".to_string(), history.exit.to_string()]),
- Row::new(vec!["Directory".to_string(), history.cwd.to_string()]),
- Row::new(vec!["Session".to_string(), history.session.to_string()]),
+ Row::new(vec!["Directory".to_string(), history.cwd.clone()]),
+ Row::new(vec!["Session".to_string(), history.session.clone()]),
Row::new(vec!["Total runs".to_string(), stats.total.to_string()]),
];
diff --git a/flake.nix b/flake.nix
index 6d503017..54f218e5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -31,7 +31,7 @@
fenix.packages.${system}.fromToolchainFile
{
file = ./rust-toolchain.toml;
- sha256 = "sha256-SJwZ8g0zF2WrKDVmHrVG3pD2RGoQeo24MEXnNx5FyuI=";
+ sha256 = "sha256-2eWc3xVTKqg5wKSHGwt1XoM/kUBC6y3MWfKg74Zn+fY=";
};
in
pkgs.makeRustPlatform {
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 73328e05..1a35d664 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,2 +1,2 @@
[toolchain]
-channel = "1.90"
+channel = "1.91"