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-app-device-model device cargo crate

Shared Device types — DeviceRecord. Lifted from the old root device model.

crates/cre8-app-device-model · level 0 · 331 lines (252 code) · 1 files · 16 fns (7 tests) · cyclomatic Σ 24

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
DeviceRecord::heartbeat_age_mssrc/lib.rs:74method31203.9
DeviceRecord::livenesssrc/lib.rs:81method134413.3
classifysrc/lib.rs:154fn72823
known_kind_classsrc/lib.rs:162fn31101.8
peripheral_kind_classsrc/lib.rs:166fn31101.8
DeviceRecord::liveness_defaultsrc/lib.rs:96method31110.9
DeviceRecord::normalize_classsrc/lib.rs:105method52110.9
DeviceRecord::is_onlinesrc/lib.rs:100method32110.7
Liveness::as_strsrc/lib.rs:62method73000.5
device_record_serde_round_tripsrc/lib.rs:203fn241000.5
device_record_deserializes_legacy_rows_without_class_or_heartbeatsrc/lib.rs:229fn191010.5
classify_buckets_known_kindssrc/lib.rs:250fn131010.5
normalize_class_fills_blank_from_kindsrc/lib.rs:265fn101010.5
liveness_transitions_online_stale_offlinesrc/lib.rs:277fn161020.5
device_transport_record_metadata_defaults_to_null_when_missingsrc/lib.rs:295fn191000.5
device_frame_batch_round_trips_frames_in_ordersrc/lib.rs:316fn151000.5

Outside the workspace

serde serde_json