Skip to content
1 viewer

rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off

cre8-util-geohash crates cargo crate

Geohash encoder + prefix containment — the shared spatial-cell primitive. A geohash prefix is a hierarchical scale dial: 4 chars ~ a city, 6 ~ a neighborhood, 7 ~ a block; containment is `starts_with`.

crates/cre8-util-geohash · level 0 · 171 lines (128 code) · 1 files · 12 fns (7 tests) · cyclomatic Σ 25

0workspace deps
4direct dependents
14transitive dependents
0calls out
15calls in
21.4call-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.

Files

lowhigh

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
encodesrc/lib.rs:16fn3961409.4
decode_bboxsrc/lib.rs:59fn316303.3
decodesrc/lib.rs:93fn41512.6
prefix_containssrc/lib.rs:110fn31201.5
coverssrc/lib.rs:101fn62311.2
encodes_known_pointsrc/lib.rs:119fn61010.5
city_prefix_covers_neighborhood_pointsrc/lib.rs:127fn51020.5
empty_prefix_covers_allsrc/lib.rs:134fn41010.5
prefix_nestingsrc/lib.rs:140fn41010.5
decode_roundtrips_within_cellsrc/lib.rs:146fn111020.5
decode_bbox_contains_centersrc/lib.rs:159fn63020.5
precision_is_clampedsrc/lib.rs:167fn41010.5