Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

cre8-app-inventory inventory cargo crate

InventoryApp — a multi-location stock ledger: append-only StockMovement (receive/reserve/release/sell/transfer/adjust) folded into a StockBalance per (item, location). location_ref is an opaque key (outlet:/warehouse:/juris:) so a franchise rolls stock up by place. Shop/Manufacture/Transport compose it by connection name. (2026-06-24).

crates/cre8-app-inventory · level 10 · 1,900 lines (1,676 code) · 6 files · 106 fns (36 tests) · cyclomatic Σ 184

8workspace deps
1direct dependents
8transitive dependents
96calls out
0calls in
81.1call-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.

normal dep · 10 calls · source referencenormal dep · 49 calls · source referencenormal dep · 6 calls · source referencenormal dep · 8 calls · source referencenormal dep · 5 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 18 calls · source referencenormal dep · 0 calls · source referenceapp-inventoryL10 · 1,676 linescre8-app-inventoryapp-protocolL9 · 26,097 linescre8-app-protocolapp-view-libL8 · 89,193 linescre8-app-view-libplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostutil-graph-vertexL0 · 173 linescre8-util-graph-vertexruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 106 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
parsesrc/connection.rs:335fn31902.5
requiredsrc/connection.rs:168fn31502.5
post_movementsrc/model.rs:252fn1611122.2
prepare_movementsrc/model.rs:272fn486231.8
movement_writessrc/model.rs:321fn152221.8
derive_balance_idsrc/model.rs:176fn31211.7
load_balancesrc/model.rs:216fn71841.6
history_querysrc/view_templates.rs:29fn31811.5
item_treesrc/view_templates.rs:132fn165248231.5
connectsrc/connection.rs:157fn101311.4
derive_movement_idsrc/model.rs:71fn151121.3
runsrc/init.rs:7fn31201.3
parse_balancesrc/model.rs:235fn101221.3
authorize_locationssrc/connection.rs:192fn121711.2
list_movementssrc/model.rs:147fn122621.2
readsrc/view_templates.rs:32fn81331.1
list_balancessrc/model.rs:224fn102321.1
StockBalance::availablesrc/model.rs:199method31601.1
MovementKind::keysrc/model.rs:55method117101.1
stock_querysrc/view_templates.rs:26fn31411
balances_treesrc/view_templates.rs:53fn389491
graphsrc/model.rs:417fn31601
receivesrc/model.rs:421fn31611
parse_movementsrc/model.rs:160fn131151
StockMovement::newsrc/model.rs:107method261111
StockBalance::newsrc/model.rs:191method61111
contextsrc/connection.rs:373fn81331
positive_qtysrc/connection.rs:172fn72510.9
item_locsrc/connection.rs:180fn31510.9
balance_jsonsrc/connection.rs:184fn71500.9
post_transfersrc/model.rs:339fn333420.8
receive_formsrc/view_templates.rs:91fn151220.8
recordssrc/view_templates.rs:40fn73300.7
balance_cardsrc/view_templates.rs:106fn153340.7
receive_handlersrc/connection.rs:207fn121170.7
reserve_handlersrc/connection.rs:220fn151170.7
release_handlersrc/connection.rs:236fn121170.7
sell_handlersrc/connection.rs:249fn151180.7
transfer_handlersrc/connection.rs:265fn192160.7
adjust_handlersrc/connection.rs:285fn142170.7

Outside the workspace

anyhow hyperdb serde serde_json