alpha
Login
or
Join now
microcosm.blue
/
microcosm-rs
Star
0
Fork
3
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
Star
0
Fork
3
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
lil fancy
whatever
author
phil
date
1 year ago
(Apr 9, 2025, 4:51 PM -0400)
commit
09655a70
09655a70a7ce4b353348b1d2d846b917d6115285
parent
d1919684
d19196849b552a08552df60bba2af51f860cc83c
+4
-6
1 changed file
Expand all
Collapse all
Unified
Split
ufos
src
storage_fjall.rs
+4
-6
ufos/src/storage_fjall.rs
Reviewed
···
271
271
}
272
272
impl From<&Blah> for TopCollections {
273
273
fn from(bla: &Blah) -> Self {
274
274
-
let mut me = Self {
274
274
+
Self {
275
275
total_records: bla.counts.records(),
276
276
dids_estimate: bla.counts.dids().estimate() as u64,
277
277
-
..Default::default()
278
278
-
};
279
279
-
for (k, v) in &bla.children {
280
280
-
me.nsid_child_segments.insert(k.to_string(), v.into());
277
277
+
nsid_child_segments: HashMap::from_iter(
278
278
+
bla.children.iter().map(|(k, v)| (k.to_string(), v.into())),
279
279
+
),
281
280
}
282
282
-
me
283
281
}
284
282
}
285
283