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-activity-model activity cargo crate

Shared Activity types — ActivityBook, ActivityRecord, normalization helpers. Lifted out of the lib so cre8-app-activity and the truth kernel both depend on this crate instead of cycling through the root runtime.

crates/cre8-app-activity-model · level 0 · 480 lines (410 code) · 1 files · 30 fns (13 tests) · cyclomatic Σ 49

0workspace deps
4direct dependents
201transitive dependents
0calls out
15calls in
43call-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). 30 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
normalize_recordsrc/lib.rs:169fn421946.1
merge_statussrc/lib.rs:127fn71634.5
try_normalize_recordsrc/lib.rs:212fn92812.7
now_isosrc/lib.rs:47fn31402.2
non_empty_strsrc/lib.rs:70fn31102.2
merge_patchsrc/lib.rs:222fn164412.2
input_protocol_idsrc/lib.rs:64fn51112
id_seedsrc/lib.rs:51fn61101.8
parse_protocol_idsrc/lib.rs:58fn51111.8
apply_status_patchsrc/lib.rs:135fn73101.8
insert_status_booleanssrc/lib.rs:143fn61101.8
normalize_status_schedule_fieldssrc/lib.rs:150fn185121.8
base_recordsrc/lib.rs:306fn141511.5
normalize_scheduledsrc/lib.rs:74fn194101.2
normalize_recurringsrc/lib.rs:94fn325101.2
try_merge_patchsrc/lib.rs:239fn92311.1
ActivityBook::upsertsrc/lib.rs:16method72100.7
ActivityBook::findsrc/lib.rs:24method31000.5
strict_normalize_rejects_non_object_payloadssrc/lib.rs:255fn41010.5
strict_merge_rejects_non_object_patchessrc/lib.rs:261fn51020.5
strict_merge_accepts_object_patchessrc/lib.rs:268fn201020.5
strict_normalize_keeps_valid_object_compatibilitysrc/lib.rs:290fn151010.5
activity_book_upserts_and_finds_case_insensitivelysrc/lib.rs:322fn171020.5
normalize_record_uses_aliases_existing_values_and_defaultssrc/lib.rs:341fn271020.5
normalize_record_uses_existing_protocol_when_input_omits_protocolsrc/lib.rs:370fn81020.5
normalize_record_accepts_protocol_object_and_generates_idsrc/lib.rs:380fn191010.5
normalize_record_defaults_for_non_object_inputsrc/lib.rs:401fn131010.5
merge_status_normalizes_numeric_schedule_and_recurring_valuessrc/lib.rs:416fn341010.5
merge_patch_merges_status_without_losing_other_fieldssrc/lib.rs:452fn171020.5
merge_patch_ignores_non_object_patch_valuessrc/lib.rs:471fn91020.5

Outside the workspace

chrono serde serde_json sha2