Skip to content
1 viewer

rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off

cre8-app-sports sports cargo crate

SportsApp domain crate for registering events and outcomes in prediction markets.

crates/cre8-app-sports · level 19 · 487 lines (408 code) · 3 files · 33 fns (8 tests) · cyclomatic Σ 38

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

Declared but never named in this crate's source: cre8-platform-time (normal), cre8-runtime-core (normal), cre8-app-truth (dev).

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). 33 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
connectsrc/connection.rs:74fn41722.7
required_trimmedsrc/connection.rs:126fn71301.9
parse_inputsrc/connection.rs:79fn31101.7
dispatchsrc/connection.rs:87fn124141.7
register_outcomesrc/connection.rs:158fn181101
is_sports_eventsrc/connection.rs:242fn31201
matches_leaguesrc/connection.rs:246fn61201
action_namesrc/connection.rs:83fn31201
resolve_fieldssrc/connection.rs:215fn91110.9
handle_create_eventsrc/connection.rs:100fn141150.8
handle_resolve_eventsrc/connection.rs:187fn272120.8
handle_get_eventssrc/connection.rs:225fn161120.8
temp_dbsrc/connection.rs:284fn31310.8
outcome_listsrc/connection.rs:146fn31200.7
create_event_inputsrc/connection.rs:288fn101200.7
event_fieldssrc/connection.rs:115fn101110.6
event_metadatasrc/connection.rs:134fn111100.6
register_outcomessrc/connection.rs:150fn72110.6
open_resolution_ballotsrc/connection.rs:177fn91100.6
handle_sports_create_eventsrc/connection.rs:253fn51110.6
handle_sports_resolve_eventsrc/connection.rs:259fn51110.6
handle_sports_get_eventssrc/connection.rs:265fn51110.6
SportsApp::metasrc/app.rs:13trait impl31000.5
SportsApp::bootsrc/app.rs:17trait impl31000.5
SportsApp::handlesrc/app.rs:21trait impl31000.5
SportsApp::connectsrc/app.rs:25trait impl31010.5
SportsApp::connection_handlerssrc/app.rs:29trait impl31000.5
sports_app_exposes_meta_handlers_and_lifecyclesrc/app.rs:41fn131010.5
connect_covers_unknown_aliases_and_required_field_errorssrc/connection.rs:300fn201030.5
create_event_registers_assets_opens_ballot_and_lists_filterssrc/connection.rs:322fn231040.5
default_outcomes_and_connection_handlers_cover_action_rewritessrc/connection.rs:347fn301050.5
resolve_existing_event_delegates_to_prediction_resolutionsrc/connection.rs:379fn201040.5
helper_filters_cover_non_sports_and_league_edgessrc/connection.rs:401fn281040.5

Outside the workspace

anyhow serde serde_json