Skip to content
1 viewer

rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off

cre8-app-device-store device cargo crate

Pure peer-device storage helpers.

crates/cre8-app-device-store · level 6 · 383 lines (309 code) · 1 files · 27 fns (9 tests) · cyclomatic Σ 48

3workspace deps
3direct dependents
96transitive dependents
3calls out
10calls in
25.2call-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). 27 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
device_records_from_profilesrc/lib.rs:83fn353382.5
sync_peer_devicessrc/lib.rs:119fn163412.1
get_devicesrc/lib.rs:225fn31201.7
upsert_peer_devicessrc/lib.rs:173fn92321.3
list_devicessrc/lib.rs:183fn81201.2
sanitize_device_idsrc/lib.rs:17fn66101.1
skip_upsertsrc/lib.rs:136fn32101
merge_device_rowssrc/lib.rs:152fn102121
prune_offline_devicessrc/lib.rs:197fn275201
records_by_device_idsrc/lib.rs:140fn31100.9
preserve_created_atsrc/lib.rs:144fn73100.9
count_devicessrc/lib.rs:229fn31200.9
extract_devicessrc/lib.rs:13fn31100.8
device_id_forsrc/lib.rs:24fn132110.8
device_kind_forsrc/lib.rs:38fn91100.8
device_class_forsrc/lib.rs:50fn91110.8
device_last_seen_ms_forsrc/lib.rs:62fn31100.8
device_label_forsrc/lib.rs:66fn91100.8
profilesrc/lib.rs:293fn201200.8
FakeTruth::replace_callssrc/lib.rs:247method31100.5
FakeTruth::namesrc/lib.rs:253trait impl31000.5
FakeTruth::device_replace_peer_recordssrc/lib.rs:257trait impl71000.5
FakeTruth::device_listsrc/lib.rs:265trait impl121000.5
FakeTruth::device_getsrc/lib.rs:278trait impl92000.5
FakeTruth::device_countsrc/lib.rs:288trait impl31000.5
records_from_profile_normalize_ids_labels_classes_and_livenesssrc/lib.rs:315fn221020.5
sync_upsert_list_get_count_and_prune_delegate_to_truthsrc/lib.rs:339fn442080.5

Outside the workspace

anyhow serde_json