rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-app-transport/src/production.rs
Items
const STATION_KINDS const STATION_KINDS_REQUIRING_ARMING const MACHINE_RECEIPT_KINDS const MAX_MACHINE_RECEIPT_BYTES const MAX_JOB_HISTORY const STATION_STATUSES const JOB_STATUSES const JOB_STATUSES_IN_PROGRESS const LOCAL_JOB_ID_PREFIX struct Station impl Station struct ProductionLine struct PressRecipe const MAX_PRESS_TEMP_C const MAX_PRESS_SECONDS const MAX_PRESS_PRESSURE_CHARS impl PressRecipe struct JobTransition impl JobTransition struct TransitionFacts impl TransitionFacts static SEQUENCE struct ProductionJob impl ProductionJob
Functions
By call-graph weight (PageRank; 1.0 is the average function). 44 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| job_shipment_statussrc/production.rs:605 | fn | 13 | 9 | 4 | 0 | 1.8 | |
| local_job_idsrc/production.rs:64 | fn | 3 | 1 | 7 | 0 | 1.7 | |
| normalize_station_kindsrc/production.rs:80 | fn | 10 | 3 | 5 | 0 | 1.6 | |
| validate_machine_receiptsrc/production.rs:383 | fn | 23 | 3 | 3 | 0 | 1.5 | |
| stationsrc/production.rs:669 | fn | 22 | 1 | 4 | 0 | 1.3 | |
| shop_order_id_from_job_idsrc/production.rs:72 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| ProductionJob::record_transitionsrc/production.rs:533 | method | 23 | 3 | 7 | 2 | 1.2 | |
| JobTransition::has_machine_receiptsrc/production.rs:339 | method | 3 | 1 | 2 | 0 | 1.1 | |
| Station::is_claimablesrc/production.rs:191 | method | 3 | 1 | 5 | 0 | 1.1 | |
| job_status_is_terminalsrc/production.rs:588 | fn | 3 | 1 | 3 | 0 | 1.1 | |
| machine_receipt_sha256src/production.rs:429 | fn | 4 | 1 | 2 | 2 | 1 | |
| Station::can_makesrc/production.rs:203 | method | 3 | 2 | 3 | 0 | 1 | |
| job_transition_allowedsrc/production.rs:566 | fn | 20 | 9 | 5 | 0 | 1 | |
| job_statuses_in_progress_sql_listsrc/production.rs:596 | fn | 3 | 1 | 3 | 0 | 1 | |
| canonical_jsonsrc/production.rs:409 | fn | 16 | 3 | 2 | 0 | 1 | |
| next_transition_idsrc/production.rs:439 | fn | 5 | 1 | 1 | 1 | 1 | |
| JobTransition::machine_receipt_kindsrc/production.rs:343 | method | 3 | 1 | 1 | 0 | 1 | |
| trim_numbersrc/production.rs:292 | fn | 3 | 2 | 1 | 0 | 0.9 | |
| TransitionFacts::at_stationsrc/production.rs:369 | method | 8 | 2 | 4 | 0 | 0.9 | |
| normalize_station_kindssrc/production.rs:93 | fn | 10 | 3 | 3 | 1 | 0.8 | |
| device_handoff_payloadsrc/production.rs:622 | fn | 27 | 1 | 3 | 0 | 0.8 | |
| Station::awaiting_armsrc/production.rs:196 | method | 3 | 2 | 2 | 0 | 0.7 | |
| PressRecipe::normalizesrc/production.rs:254 | method | 21 | 13 | 2 | 0 | 0.7 | |
| ProductionJob::machine_receiptssrc/production.rs:558 | method | 3 | 1 | 2 | 1 | 0.7 | |
| JobTransition::fab_job_idsrc/production.rs:348 | method | 6 | 2 | 1 | 1 | 0.6 | |
| Station::normalizesrc/production.rs:148 | method | 40 | 8 | 0 | 4 | 0.5 | |
| PressRecipe::labelsrc/production.rs:277 | method | 13 | 4 | 0 | 1 | 0.5 | |
| text_or_numbersrc/production.rs:297 | fn | 8 | 4 | 0 | 0 | 0.5 | |
| machine_receipt_sha256src/production.rs:435 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| ProductionJob::normalizesrc/production.rs:483 | method | 41 | 8 | 0 | 6 | 0.5 | |
| ProductionJob::total_unitssrc/production.rs:525 | method | 3 | 1 | 0 | 0 | 0.5 | |
| handoff_linesrc/production.rs:650 | fn | 14 | 1 | 0 | 0 | 0.5 | |
| station_kinds_fold_onto_the_vocabularysrc/production.rs:693 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| station_normalize_clamps_capacity_and_defaults_offlinesrc/production.rs:706 | fn | 10 | 1 | 0 | 2 | 0.5 | |
| station_capability_matches_kind_and_drains_unpinned_jobssrc/production.rs:718 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| job_id_round_trips_through_the_order_idsrc/production.rs:729 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| state_machine_allows_the_shop_floor_and_refuses_the_restsrc/production.rs:737 | fn | 26 | 1 | 0 | 2 | 0.5 | |
| in_progress_sql_list_is_generated_from_the_status_vocabularysrc/production.rs:765 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| job_statuses_map_onto_the_shipment_vocabularysrc/production.rs:774 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| handoff_payload_carries_file_refs_params_and_the_callback_contractsrc/production.rs:783 | fn | 61 | 1 | 0 | 2 | 0.5 | |
| three_d_printers_always_require_arming_and_stale_arms_do_not_survivesrc/production.rs:846 | fn | 34 | 5 | 0 | 2 | 0.5 | |
| machine_receipts_must_be_small_objects_with_a_known_kindsrc/production.rs:882 | fn | 21 | 2 | 0 | 1 | 0.5 | |
| a_recorded_transition_carries_its_receipt_and_a_stable_digestsrc/production.rs:905 | fn | 62 | 2 | 0 | 7 | 0.5 | |
| press_recipes_keep_only_what_the_operator_enteredsrc/production.rs:969 | fn | 31 | 2 | 0 | 0 | 0.5 |
Source not readable from this process.