mirror of
https://seed.radicle.dev/rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M.git
synced 2026-11-29 14:50:37 +08:00
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:
+2
-2
@@ -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
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user