style: rustfmt the merged PR #125 hunks and the mirror test; sync Cargo.lock
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
6668359875
commit
0a374c80a6
Generated
+1
-1
@@ -104,7 +104,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "archipelago"
|
name = "archipelago"
|
||||||
version = "1.7.123-alpha"
|
version = "1.7.124-alpha"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"archipelago-container",
|
"archipelago-container",
|
||||||
|
|||||||
@@ -856,12 +856,9 @@ impl Server {
|
|||||||
// connected now, no LAN direct entry this tick. Escala-
|
// connected now, no LAN direct entry this tick. Escala-
|
||||||
// tion order is LAN → last-known-good → anchor tree;
|
// tion order is LAN → last-known-good → anchor tree;
|
||||||
// a stale candidate costs one bounded failed dial.
|
// a stale candidate costs one bounded failed dial.
|
||||||
let connected =
|
let connected = crate::fips::service::connected_peer_endpoints().await;
|
||||||
crate::fips::service::connected_peer_endpoints().await;
|
let known =
|
||||||
let known = crate::fips::endpoints::record_connected(
|
crate::fips::endpoints::record_connected(&data_dir, &connected).await;
|
||||||
&data_dir, &connected,
|
|
||||||
)
|
|
||||||
.await;
|
|
||||||
let wanted: Vec<String> = reg
|
let wanted: Vec<String> = reg
|
||||||
.all_peers()
|
.all_peers()
|
||||||
.await
|
.await
|
||||||
|
|||||||
@@ -2403,7 +2403,9 @@ mod tests {
|
|||||||
// update; the signature is what makes either source trustworthy.
|
// update; the signature is what makes either source trustworthy.
|
||||||
assert_eq!(list.len(), 2);
|
assert_eq!(list.len(), 2);
|
||||||
assert!(
|
assert!(
|
||||||
list[0].url.starts_with("https://source.archipelago-foundation.org/"),
|
list[0]
|
||||||
|
.url
|
||||||
|
.starts_with("https://source.archipelago-foundation.org/"),
|
||||||
"the named origin must be primary, got {}",
|
"the named origin must be primary, got {}",
|
||||||
list[0].url
|
list[0].url
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user