Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 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 21 · 1,184 lines (925 code) · 7 files · 67 fns (15 tests) · cyclomatic Σ 106

8workspace deps
1direct dependents
8transitive dependents
20calls out
0calls in
52.1call-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.

Declared but never named in this crate's source: cre8-runtime-core (normal), cre8-runtime-host (normal).

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.7
upsert_containment_edgesrc/model.rs:193fn72120.7
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