Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,950 · python 20,426 · 6,405 files · digest 9ba5c926519d · built in 1.7 s · crystals off

crates/cre8-app-agent/src/delegation_offer.rs

cre8-app-agent · module delegation_offer · src · 1,110 lines (833 code, 157 comment) · sha a32d0829d3bd5360

Items

const KIND_DELEGATION_OFFER enum OfferStatus impl Default for OfferStatus impl OfferStatus struct DelegationOffer impl DelegationOffer struct OfferIdentityFields struct OfferTermFields struct OfferTimingFields struct OfferStateFields enum OfferVerifyError impl Display for OfferVerifyError impl Error for OfferVerifyError

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
derive_offer_idsrc/delegation_offer.rs:55fn61905.8
sample_offersrc/delegation_offer.rs:639fn1312954.3
upsert_offersrc/delegation_offer.rs:225fn3952223.9
DelegationOffer::newsrc/delegation_offer.rs:156method321613.8
offer_vidsrc/delegation_offer.rs:48fn31303.3
load_offersrc/delegation_offer.rs:265fn711633.3
canonical_offer_bytessrc/delegation_offer.rs:519fn457702.3
parse_offersrc/delegation_offer.rs:378fn251442.1
DelegationOffer::with_acceptance_feesrc/delegation_offer.rs:199method41302
DelegationOffer::with_per_action_feesrc/delegation_offer.rs:204method41302
load_offers_for_targetsrc/delegation_offer.rs:284fn145531.5
sample_spending_scopesrc/delegation_offer.rs:629fn91201.4
required_offer_stringsrc/delegation_offer.rs:474fn31101.3
required_offer_i64src/delegation_offer.rs:478fn31101.3
optional_offer_mapsrc/delegation_offer.rs:486fn31101.3
verify_offersrc/delegation_offer.rs:582fn152731.2
sign_offersrc/delegation_offer.rs:567fn131721.1
fresh_cache_with_passportsrc/delegation_offer.rs:901fn91721.1
DelegationOffer::with_tasksrc/delegation_offer.rs:189method41401
parse_offer_identitysrc/delegation_offer.rs:410fn71110.9
parse_offer_termssrc/delegation_offer.rs:424fn111110.9
parse_offer_timingsrc/delegation_offer.rs:442fn71110.9
parse_offer_statesrc/delegation_offer.rs:461fn121130.9
OfferStatus::defaultsrc/delegation_offer.rs:83trait impl31100.9
mark_acceptedsrc/delegation_offer.rs:330fn142320.8
active_offers_for_targetsrc/delegation_offer.rs:318fn71210.8
optional_offer_stringsrc/delegation_offer.rs:482fn31100.8
optional_offer_statussrc/delegation_offer.rs:490fn31100.8
parse_required_skillssrc/delegation_offer.rs:494fn91100.8
mark_declinedsrc/delegation_offer.rs:345fn142320.8
mark_expiredsrc/delegation_offer.rs:366fn92220.7
DelegationOffer::with_required_skillssrc/delegation_offer.rs:194method41100.7
DelegationOffer::is_clock_expiredsrc/delegation_offer.rs:218method31100.7
ignored_lookupsrc/delegation_offer.rs:962nested fn31100.6
delete_offersrc/delegation_offer.rs:273fn82120.6
load_offers_from_offerersrc/delegation_offer.rs:300fn145130.6
OfferStatus::is_terminalsrc/delegation_offer.rs:89method31000.5
DelegationOffer::is_activesrc/delegation_offer.rs:212method32000.5
OfferVerifyError::fmtsrc/delegation_offer.rs:607trait impl84000.5
upsert_and_load_roundtripsrc/delegation_offer.rs:656fn71040.5
upsert_idempotent_and_updatessrc/delegation_offer.rs:665fn91040.5
missing_offer_returns_nonesrc/delegation_offer.rs:676fn41020.5
delete_removes_offersrc/delegation_offer.rs:682fn81050.5
upsert_rejects_empty_required_fieldssrc/delegation_offer.rs:692fn161030.5
load_offers_for_target_filterssrc/delegation_offer.rs:712fn211050.5
load_offers_from_offerer_filterssrc/delegation_offer.rs:735fn201050.5
active_offers_excludes_expired_and_terminalsrc/delegation_offer.rs:757fn271050.5
mark_accepted_sets_status_and_timestampsrc/delegation_offer.rs:788fn121050.5
mark_declined_sets_status_and_timestampsrc/delegation_offer.rs:802fn91040.5
mark_expired_terminalizes_lazy_statussrc/delegation_offer.rs:813fn101040.5
cant_accept_a_declined_or_expired_offersrc/delegation_offer.rs:825fn121050.5
mark_transitions_error_on_missingsrc/delegation_offer.rs:839fn71030.5
offer_status_is_terminal_for_non_pendingsrc/delegation_offer.rs:850fn71010.5
required_skills_builder_sets_skills_and_changes_canonical_bytessrc/delegation_offer.rs:859fn81020.5
is_active_handles_pending_plus_clocksrc/delegation_offer.rs:869fn71010.5
is_clock_expired_independent_of_statussrc/delegation_offer.rs:878fn71020.5
derive_offer_id_is_deterministicsrc/delegation_offer.rs:887fn81020.5
canonical_offer_bytes_excludes_status_transitionssrc/delegation_offer.rs:912fn111020.5
canonical_offer_bytes_changes_on_term_changesrc/delegation_offer.rs:925fn61020.5
sign_and_verify_offer_roundtripsrc/delegation_offer.rs:933fn141040.5
verify_offer_rejects_tampered_termssrc/delegation_offer.rs:949fn101040.5
verify_offer_unsigned_returns_no_signaturesrc/delegation_offer.rs:961fn101030.5
verify_offer_unknown_offerer_when_lookup_returns_nonesrc/delegation_offer.rs:973fn71040.5
sign_and_verify_error_paths_have_stable_messagessrc/delegation_offer.rs:982fn151050.5
signed_offer_persists_and_reloads_with_signaturesrc/delegation_offer.rs:999fn101060.5
with_task_sets_task_idsrc/delegation_offer.rs:1013fn41020.5
task_id_persists_and_round_tripssrc/delegation_offer.rs:1019fn71050.5
offers_without_task_id_round_trip_unchangedsrc/delegation_offer.rs:1028fn141050.5
canonical_bytes_change_when_task_id_addedsrc/delegation_offer.rs:1044fn91030.5
canonical_bytes_back_compat_for_offers_without_task_idsrc/delegation_offer.rs:1055fn131020.5
signing_a_task_offer_includes_task_id_in_signaturesrc/delegation_offer.rs:1070fn151050.5
signing_a_skill_gated_offer_includes_required_skills_in_signaturesrc/delegation_offer.rs:1087fn231070.5

Source not readable from this process.