Pre-0.1 cleanup: fmt, docs, licenses, AUR-ready packaging
ci / quality (push) Failing after 3s

- cargo fmt across the workspace (the CI gate the last push tripped).
- varde-daemon: drop the now-unused bytes dependency.
- varde-ctl(1): document push; gc reflects the continuous-sweep
  reality; subscribe mentions push events.
- config.toml example: gc_interval_secs, and an honest note that
  max_download_bytes_per_sec is currently unenforced.
- LICENSE-MIT + LICENSE-APACHE at the root (the declared license now
  ships as files), bundled into release tarballs and installed by the
  PKGBUILD.
- PKGBUILD: real maintainer, AUR pre-flight note (updpkgsums), license
  installation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Lynghaug
2026-08-16 15:04:22 +02:00
co-authored by Claude Fable 5
parent c52c3b1238
commit 5d29bdc4bd
12 changed files with 272 additions and 25 deletions
+6 -2
View File
@@ -382,7 +382,12 @@ impl Daemon {
.present_trusted_peers()
.into_iter()
.filter(|p| p.connected)
.filter_map(|p| p.node_id.parse::<iroh::EndpointId>().ok().map(iroh::EndpointAddr::from))
.filter_map(|p| {
p.node_id
.parse::<iroh::EndpointId>()
.ok()
.map(iroh::EndpointAddr::from)
})
.collect();
if !present.is_empty() {
self.transfer.spawn_fetch(
@@ -568,7 +573,6 @@ impl Daemon {
Request::Subscribe {} => Ok(ResponseData::Done {}),
}
}
}
fn blob_format(format: StoredFormat) -> BlobFormat {