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-app-device-model device cargo crate
Shared Device types — DeviceRecord. Lifted from the old root device model.
0workspace deps
5direct dependents
208transitive dependents
0calls out
8calls in
20.3call-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). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| DeviceRecord::heartbeat_age_mssrc/lib.rs:74 | method | 3 | 1 | 2 | 0 | 3.9 | |
| DeviceRecord::livenesssrc/lib.rs:81 | method | 13 | 4 | 4 | 1 | 3.3 | |
| classifysrc/lib.rs:154 | fn | 7 | 2 | 8 | 2 | 3 | |
| known_kind_classsrc/lib.rs:162 | fn | 3 | 1 | 1 | 0 | 1.8 | |
| peripheral_kind_classsrc/lib.rs:166 | fn | 3 | 1 | 1 | 0 | 1.8 | |
| DeviceRecord::liveness_defaultsrc/lib.rs:96 | method | 3 | 1 | 1 | 1 | 0.9 | |
| DeviceRecord::normalize_classsrc/lib.rs:105 | method | 5 | 2 | 1 | 1 | 0.9 | |
| DeviceRecord::is_onlinesrc/lib.rs:100 | method | 3 | 2 | 1 | 1 | 0.7 | |
| Liveness::as_strsrc/lib.rs:62 | method | 7 | 3 | 0 | 0 | 0.5 | |
| device_record_serde_round_tripsrc/lib.rs:203 | fn | 24 | 1 | 0 | 0 | 0.5 | |
| device_record_deserializes_legacy_rows_without_class_or_heartbeatsrc/lib.rs:229 | fn | 19 | 1 | 0 | 1 | 0.5 | |
| classify_buckets_known_kindssrc/lib.rs:250 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| normalize_class_fills_blank_from_kindsrc/lib.rs:265 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| liveness_transitions_online_stale_offlinesrc/lib.rs:277 | fn | 16 | 1 | 0 | 2 | 0.5 | |
| device_transport_record_metadata_defaults_to_null_when_missingsrc/lib.rs:295 | fn | 19 | 1 | 0 | 0 | 0.5 | |
| device_frame_batch_round_trips_frames_in_ordersrc/lib.rs:316 | fn | 15 | 1 | 0 | 0 | 0.5 |
Outside the workspace
serde serde_json