chore: update to radicle to 0.21.0

Update the `radicle` crate to 0.21.0.

This requires the MSRV to be updated to 1.85.0.
This commit is contained in:
Fintan Halpenny
2026-03-04 17:51:15 +00:00
parent e37ff3447e
commit 57f2ad0757
4 changed files with 161 additions and 96 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ fn announce(profile: &Profile, repo_id: RepoId) -> Result<(), error::Announce> {
let mut node = Node::new(profile.home.socket());
let (synced, unsynced) = node
.seeds(repo_id)
.seeds_for(repo_id, [*profile.id()])
.map_err(error::Announce::Seeds)?
.iter()
.fold(
@@ -121,7 +121,7 @@ fn announce(profile: &Profile, repo_id: RepoId) -> Result<(), error::Announce> {
))
.map_err(error::Announce::Announcer)?;
node.announce(repo_id, TIMEOUT, announcer, |_, _| ())
node.announce(repo_id, [*profile.id()], TIMEOUT, announcer, |_, _| ())
.map_err(error::Announce::Announcement)?;
Ok(())
+1 -1
View File
@@ -26,7 +26,7 @@ pub enum Build {
oid: git::Oid,
/// The underlying error from Git that occurred.
#[source]
err: git::Error,
err: git::raw::Error,
},
}