Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm

Format tests

+45 -10
+45 -10
constellation/src/storage/mod.rs
··· 731 731 0, 732 732 )?; 733 733 } 734 - let links = 735 - storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?; 734 + let links = storage.get_links( 735 + "a.com", 736 + "app.t.c", 737 + ".abc.uri", 738 + false, 739 + 2, 740 + None, 741 + &HashSet::default(), 742 + )?; 736 743 let dids = storage.get_distinct_dids("a.com", "app.t.c", ".abc.uri", 2, None)?; 737 744 assert_eq!( 738 745 links, ··· 1043 1050 0, 1044 1051 )?; 1045 1052 } 1046 - let links = 1047 - storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?; 1053 + let links = storage.get_links( 1054 + "a.com", 1055 + "app.t.c", 1056 + ".abc.uri", 1057 + false, 1058 + 2, 1059 + None, 1060 + &HashSet::default(), 1061 + )?; 1048 1062 assert_eq!( 1049 1063 links, 1050 1064 PagedAppendingCollection { ··· 1114 1128 0, 1115 1129 )?; 1116 1130 } 1117 - let links = 1118 - storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?; 1131 + let links = storage.get_links( 1132 + "a.com", 1133 + "app.t.c", 1134 + ".abc.uri", 1135 + false, 1136 + 2, 1137 + None, 1138 + &HashSet::default(), 1139 + )?; 1119 1140 assert_eq!( 1120 1141 links, 1121 1142 PagedAppendingCollection { ··· 1199 1220 0, 1200 1221 )?; 1201 1222 } 1202 - let links = 1203 - storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?; 1223 + let links = storage.get_links( 1224 + "a.com", 1225 + "app.t.c", 1226 + ".abc.uri", 1227 + false, 1228 + 2, 1229 + None, 1230 + &HashSet::default(), 1231 + )?; 1204 1232 assert_eq!( 1205 1233 links, 1206 1234 PagedAppendingCollection { ··· 1271 1299 0, 1272 1300 )?; 1273 1301 } 1274 - let links = 1275 - storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?; 1302 + let links = storage.get_links( 1303 + "a.com", 1304 + "app.t.c", 1305 + ".abc.uri", 1306 + false, 1307 + 2, 1308 + None, 1309 + &HashSet::default(), 1310 + )?; 1276 1311 assert_eq!( 1277 1312 links, 1278 1313 PagedAppendingCollection {