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.
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| device_records_from_profilesrc/lib.rs:83 | fn | 35 | 3 | 3 | 8 | 2.5 | |
| sync_peer_devicessrc/lib.rs:119 | fn | 16 | 3 | 4 | 1 | 2.1 | |
| get_devicesrc/lib.rs:225 | fn | 3 | 1 | 2 | 0 | 1.7 | |
| upsert_peer_devicessrc/lib.rs:173 | fn | 9 | 2 | 3 | 2 | 1.3 | |
| list_devicessrc/lib.rs:183 | fn | 8 | 1 | 2 | 0 | 1.2 | |
| sanitize_device_idsrc/lib.rs:17 | fn | 6 | 6 | 1 | 0 | 1.1 | |
| skip_upsertsrc/lib.rs:136 | fn | 3 | 2 | 1 | 0 | 1 | |
| merge_device_rowssrc/lib.rs:152 | fn | 10 | 2 | 1 | 2 | 1 | |
| prune_offline_devicessrc/lib.rs:197 | fn | 27 | 5 | 2 | 0 | 1 | |
| records_by_device_idsrc/lib.rs:140 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| preserve_created_atsrc/lib.rs:144 | fn | 7 | 3 | 1 | 0 | 0.9 | |
| count_devicessrc/lib.rs:229 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| extract_devicessrc/lib.rs:13 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| device_id_forsrc/lib.rs:24 | fn | 13 | 2 | 1 | 1 | 0.8 | |
| device_kind_forsrc/lib.rs:38 | fn | 9 | 1 | 1 | 0 | 0.8 | |
| device_class_forsrc/lib.rs:50 | fn | 9 | 1 | 1 | 1 | 0.8 | |
| device_last_seen_ms_forsrc/lib.rs:62 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| device_label_forsrc/lib.rs:66 | fn | 9 | 1 | 1 | 0 | 0.8 | |
| profilesrc/lib.rs:293 | fn | 20 | 1 | 2 | 0 | 0.8 | |
| FakeTruth::replace_callssrc/lib.rs:247 | method | 3 | 1 | 1 | 0 | 0.5 | |
| FakeTruth::namesrc/lib.rs:253 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| FakeTruth::device_replace_peer_recordssrc/lib.rs:257 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| FakeTruth::device_listsrc/lib.rs:265 | trait impl | 12 | 1 | 0 | 0 | 0.5 | |
| FakeTruth::device_getsrc/lib.rs:278 | trait impl | 9 | 2 | 0 | 0 | 0.5 | |
| FakeTruth::device_countsrc/lib.rs:288 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| records_from_profile_normalize_ids_labels_classes_and_livenesssrc/lib.rs:315 | fn | 22 | 1 | 0 | 2 | 0.5 | |
| sync_upsert_list_get_count_and_prune_delegate_to_truthsrc/lib.rs:339 | fn | 44 | 2 | 0 | 8 | 0.5 |
Outside the workspace
anyhow serde_json