Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-metering/src/preflight.rs

cre8-app-metering · module preflight · src · 749 lines (583 code, 100 comment) · sha f65a9c4d9a304edb

Items

struct AffordabilityQuote struct CapHeadroomEntry const ASSET_TOKENS_IN

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
compute_cap_headroomsrc/preflight.rs:245fn5171472.2
cap_scope_labelsrc/preflight.rs:204fn84201.4
check_llm_preflightsrc/preflight.rs:40fn273821.3
check_manifold_cap_preflightsrc/preflight.rs:138fn293231.3
cap_contractsrc/preflight.rs:491fn101821.2
read_flow_historysrc/preflight.rs:297fn6012251.1
llm_affordability_quotesrc/preflight.rs:81fn223121.1
seed_flowsrc/preflight.rs:505fn272691
llm_denom_candidatessrc/preflight.rs:104fn153110.9
estimated_llm_costsrc/preflight.rs:120fn163110.9
parent_cap_contractsrc/preflight.rs:381fn101420.9
run_check_genericsrc/preflight.rs:168fn161120.9
unsupported_cap_headroom_entrysrc/preflight.rs:213fn221110.8
scope_key_matchessrc/preflight.rs:358fn136100.7
no_contract_means_uncapped_passsrc/preflight.rs:393fn51020.5
under_cap_passessrc/preflight.rs:400fn61040.5
over_cap_denies_with_named_rulesrc/preflight.rs:408fn81040.5
specific_contract_does_not_hide_parent_capsrc/preflight.rs:418fn181070.5
unsupported_scoped_cap_is_reported_not_hiddensrc/preflight.rs:438fn241050.5
zero_estimate_is_always_oksrc/preflight.rs:464fn81040.5
headroom_per_peer_matches_cap_minus_spentsrc/preflight.rs:534fn121050.5
headroom_per_peer_isolated_between_peerssrc/preflight.rs:548fn111050.5
headroom_global_shared_across_peerssrc/preflight.rs:561fn151050.5
headroom_per_role_reported_as_unsupportedsrc/preflight.rs:578fn151050.5
headroom_by_attribute_reported_as_unsupportedsrc/preflight.rs:595fn91040.5
per_role_cap_survives_serde_round_trip_via_storagesrc/preflight.rs:606fn231060.5
headroom_no_matching_rule_is_emptysrc/preflight.rs:631fn71020.5
headroom_strictest_of_multiple_rules_visiblesrc/preflight.rs:640fn351060.5
headroom_exhausted_returns_zero_not_negativesrc/preflight.rs:677fn201050.5
headroom_exactly_equals_cap_is_zerosrc/preflight.rs:699fn181060.5
affordability_denial_when_balance_insufficientsrc/preflight.rs:719fn301030.5

Source not readable from this process.