Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

cre8-app-municipality municipality cargo crate

MunicipalityApp — a self-governing place as a tiered Jurisdiction (block → neighborhood → district → city → county → state → country). Owns the place entity + containment tree + geohash/radius membership, and emits a per-place aggregation plan over the existing civic verticals (legislation, commons, event, shop, connect).

crates/cre8-app-municipality · level 22 · 1,184 lines (925 code) · 7 files · 67 fns (15 tests) · cyclomatic Σ 106

8workspace deps
1direct dependents
8transitive dependents
20calls out
0calls in
51.8call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 1 calls · source referencenormal dep · 18 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 0 calls · source referenceapp-municipalityL22 · 925 linescre8-app-municipalityapp-legislationL21 · 5,309 linescre8-app-legislationapp-protocolL9 · 26,097 linescre8-app-protocolplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostutil-geohashL0 · 128 linescre8-util-geohashruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 67 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
juris_vidsrc/model.rs:27fn31702.8
Coords::newsrc/geo.rs:16method95402.6
muni_route_forsrc/connection.rs:151fn31301.7
parse_geosrc/geo.rs:29fn71311.7
loadsrc/model.rs:277fn31421.4
add_membersrc/connection.rs:290fn92251.3
normalized_muni_actionsrc/connection.rs:146fn42201.3
Jurisdiction::contains_pointsrc/model.rs:151method135431.3
childrensrc/model.rs:291fn153221.2
listsrc/model.rs:281fn81311.2
samplesrc/model.rs:364fn161301.1
Tier::parsesrc/model.rs:101method41301.1
haversine_kmsrc/geo.rs:38fn121201.1
member_eidsrc/model.rs:43fn31200.9
connectsrc/connection.rs:116fn61120.9
statussrc/connection.rs:177fn41120.9
ensure_jurisdiction_markersrc/model.rs:214fn262220.9
peer_vidsrc/model.rs:31fn31200.9
contained_eidsrc/model.rs:39fn31100.8
now_mssrc/connection.rs:171fn31210.8
memberssrc/model.rs:350fn93230.8
aggregation_plansrc/view.rs:20fn501200.8
containment_edgesrc/model.rs:201fn91120.8
mesrc/connection.rs:167fn31100.7
add_membersrc/model.rs:254fn121150.7
remove_membersrc/model.rs:267fn72120.7
peer_from_vidsrc/model.rs:35fn31100.7
ancestorssrc/model.rs:332fn164110.7
samplesrc/view.rs:76fn161100.7
upsert_jurisdiction_vertexsrc/model.rs:175fn172110.6
upsert_containment_edgesrc/model.rs:193fn72120.6
ensure_peer_markersrc/model.rs:241fn122120.6
live_legislationsrc/connection.rs:345fn224110.6
descendantssrc/model.rs:308fn216110.6
Tier::default_geohash_lensrc/model.rs:97method31100.6
upsert_jurisdictionsrc/model.rs:168fn61130.6
MunicipalityApp::metasrc/app.rs:104trait impl31000.5
MunicipalityApp::bootsrc/app.rs:108trait impl31000.5
MunicipalityApp::handlesrc/app.rs:112trait impl31000.5
MunicipalityApp::connect_dispatch_onlysrc/app.rs:116trait impl61000.5

Outside the workspace

anyhow hyperdb serde serde_json