Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off

cre8-app-controller-model controller cargo crate

Shared Controller types — ControllerJob, ControllerRecurring, ControllerRuntime, runtime_status, trigger_from_input, create_job_from_activity. Lifted from the old root controller model so cre8-app-controller and truth activity logging both bind directly to it.

crates/cre8-app-controller-model · level 0 · 422 lines (366 code) · 1 files · 18 fns (8 tests) · cyclomatic Σ 27

0workspace deps
2direct dependents
201transitive dependents
0calls out
7calls in
21call-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). 18 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
short_hashsrc/lib.rs:73fn51203.8
create_job_from_activitysrc/lib.rs:157fn341442.1
new_trigger_idsrc/lib.rs:83fn31212
new_job_idsrc/lib.rs:79fn31412
trigger_from_inputsrc/lib.rs:192fn321311.5
normalize_scheduled_atsrc/lib.rs:87fn154201.4
normalize_recurringsrc/lib.rs:103fn325201.4
resolve_target_peersrc/lib.rs:136fn203201.4
ControllerRuntime::defaultsrc/lib.rs:58trait impl131300.9
runtime_statussrc/lib.rs:225fn141200.8
generated_ids_have_stable_prefix_and_hash_widthsrc/lib.rs:245fn91020.5
scheduled_at_accepts_direct_time_at_and_fallback_valuessrc/lib.rs:256fn91010.5
recurring_normalization_handles_scalar_object_and_empty_valuessrc/lib.rs:267fn211010.5
target_peer_resolution_checks_peer_object_and_target_peersrc/lib.rs:290fn101010.5
create_job_from_activity_uses_explicit_activity_fieldssrc/lib.rs:302fn261010.5
create_job_from_activity_accepts_protocol_aliases_and_defaultssrc/lib.rs:330fn161010.5
trigger_from_input_uses_aliases_defaults_and_tick_mathsrc/lib.rs:348fn331010.5
runtime_defaults_status_and_serde_are_stablesrc/lib.rs:383fn391040.5

Outside the workspace

chrono serde serde_json sha2