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-gateway gateway cargo crate
GatewayApp — HTTP/WS server + auth + route registry + pipeline + GatewaySnapshot + handler registries (compute/mcp/http-special). Extracted from src/apps/gateway (2026-05-23, mega-mode slice).
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-app-intelligence (normal).
Files
File call graph
Resolved calls between this crate's files, callers left of callees. Showing the 48 of 64 files most involved in calls.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 1,589 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| GatewaySnapshot::from_contextsrc/types.rs:284 | method | 93 | 1 | 56 | 3 | 14.2 | |
| with_corssrc/server_response.rs:45 | fn | 4 | 1 | 26 | 2 | 9.2 | |
| error_responsesrc/util.rs:119 | fn | 6 | 1 | 15 | 0 | 9.1 | |
| normalize_response_envelopesrc/server_response.rs:360 | fn | 13 | 2 | 13 | 6 | 9 | |
| parse_urlencoded_pairssrc/server_http_helpers.rs:261 | fn | 19 | 4 | 3 | 2 | 7 | |
| request_pathsrc/view_routes.rs:81 | fn | 3 | 1 | 16 | 0 | 6.8 | |
| parse_query_payloadsrc/server_http_helpers.rs:252 | fn | 6 | 1 | 32 | 1 | 6.5 | |
| request_pathsrc/site_routes.rs:27 | fn | 3 | 1 | 17 | 0 | 6.2 | |
| add_cors_headerssrc/server_response.rs:24 | fn | 6 | 2 | 2 | 1 | 5.7 | |
| record_response_egresssrc/server_response.rs:35 | fn | 9 | 1 | 2 | 2 | 5.7 | |
| install_test_runtime_providerssrc/server_http_test_support.rs:102 | fn | 434 | 67 | 31 | 4 | 5.5 | |
| cors_headerssrc/server_response.rs:8 | fn | 15 | 1 | 1 | 0 | 5.3 | |
| hex_nibblesrc/server_http_helpers.rs:125 | fn | 8 | 4 | 2 | 0 | 5.3 | |
| GatewayRuntimeContextBuilder::newsrc/context.rs:150 | method | 18 | 1 | 33 | 0 | 5.1 | |
| percent_decode_form_componentsrc/server_http_helpers.rs:165 | fn | 3 | 1 | 2 | 1 | 4.4 | |
| resolve_auth_gate_mode_from_seedsrc/auth.rs:21 | fn | 9 | 1 | 6 | 3 | 4.4 | |
| percent_decode_componentsrc/server_http_helpers.rs:134 | fn | 30 | 7 | 1 | 1 | 4.3 | |
| build_protocol_runtimesrc/protocol_mgmt.rs:98 | fn | 9 | 1 | 16 | 7 | 4.2 | |
| persist_network_truthsrc/peer.rs:115 | fn | 50 | 4 | 3 | 3 | 4.1 | |
| first_successful_fallbacksrc/server_startup.rs:4 | fn | 14 | 1 | 7 | 0 | 3.9 | |
| inferred_action_from_connectionsrc/router.rs:15 | fn | 19 | 4 | 5 | 1 | 3.9 | |
| parse_u64_envsrc/server_runtime.rs:161 | fn | 7 | 1 | 32 | 1 | 3.8 | |
| request_querysrc/site_routes.rs:31 | fn | 3 | 1 | 2 | 0 | 3.8 | |
| inferred_special_actionsrc/router.rs:35 | fn | 7 | 3 | 1 | 2 | 3.8 | |
| is_compute_market_connectionsrc/market_safety.rs:64 | fn | 5 | 1 | 8 | 0 | 3.8 | |
| rejected_peer_envelope_responsesrc/peer.rs:253 | fn | 24 | 1 | 7 | 1 | 3.8 | |
| send_ws_textsrc/server_ws.rs:256 | fn | 5 | 2 | 6 | 0 | 3.7 | |
| spawn_loggedsrc/util.rs:164 | fn | 19 | 1 | 35 | 3 | 3.7 | |
| with_original_querysrc/site_routes.rs:35 | fn | 6 | 3 | 6 | 1 | 3.5 | |
| collect_runtime_routessrc/server_runtime.rs:2048 | fn | 6 | 1 | 16 | 2 | 3.5 | |
| parse_query_valuesrc/server_http_helpers.rs:208 | fn | 12 | 3 | 1 | 3 | 3.5 | |
| run_recovering_background_ticksrc/server_runtime.rs:177 | fn | 19 | 2 | 30 | 1 | 3.4 | |
| panic_payload_messagesrc/server_runtime.rs:197 | fn | 9 | 3 | 1 | 0 | 3.4 | |
| response_egress_bytessrc/server_response.rs:31 | fn | 3 | 2 | 2 | 0 | 3.3 | |
| handlersrc/mcp_handler_registry.rs:42 | nested fn | 5 | 1 | 9 | 0 | 3.3 | |
| find_http_route_by_method_namesrc/server_http_helpers.rs:712 | fn | 24 | 3 | 10 | 3 | 3.3 | |
| public_site_route_targetsrc/site_routes.rs:897 | fn | 24 | 8 | 9 | 5 | 3.2 | |
| bridgesrc/compute_bridge_registry.rs:36 | fn | 3 | 1 | 5 | 0 | 3.1 | |
| build_routes_metasrc/routes_meta.rs:26 | fn | 95 | 8 | 10 | 12 | 3.1 | |
| parse_positive_usizesrc/server_ws.rs:61 | fn | 3 | 1 | 2 | 0 | 3.1 |
Outside the workspace
anyhow base64 chrono cre8-vm flate2 hyperdb serde serde_json sha2 tiny_http tracing tungstenite