Update used rust toolchain to 1.87

This commit is contained in:
Sebastian Martinez
2025-06-04 09:59:59 +02:00
parent c6f0a7a0d2
commit 9561049789
4 changed files with 9 additions and 5 deletions
+5 -3
View File
@@ -12,7 +12,7 @@ jobs:
working-directory: ./radicle-httpd
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.87
- uses: Swatinem/rust-cache@v2
with:
workspaces: radicle-httpd -> target
@@ -30,7 +30,7 @@ jobs:
working-directory: ./radicle-httpd
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.87
- uses: Swatinem/rust-cache@v2
with:
workspaces: radicle-httpd -> target
@@ -46,7 +46,9 @@ jobs:
working-directory: ./radicle-httpd
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.87
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: radicle-httpd -> target
+1 -1
View File
@@ -1 +1 @@
1.83
1.87
+2
View File
@@ -42,6 +42,7 @@ impl Context {
}
}
#[allow(clippy::result_large_err)]
pub fn repo_info<R: ReadRepository + radicle::cob::Store>(
&self,
repo: &R,
@@ -98,6 +99,7 @@ impl Context {
}
/// Get a repository by RID, checking to make sure we're allowed to view it.
#[allow(clippy::result_large_err)]
pub fn repo(&self, rid: RepoId) -> Result<(Repository, DocAt), error::Error> {
let repo = self.profile.storage.repository(rid)?;
let doc = repo.identity_doc()?;
+1 -1
View File
@@ -42,7 +42,7 @@ mod test;
mod tracing_extra;
/// Default cache HTTP size.
pub const DEFAULT_CACHE_SIZE: NonZeroUsize = unsafe { NonZeroUsize::new_unchecked(100) };
pub const DEFAULT_CACHE_SIZE: NonZeroUsize = NonZeroUsize::new(100).unwrap();
#[derive(Debug, Clone)]
pub struct Options {