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-passport passport cargo crate

PassportApp — extracted RuntimeApp crate.

crates/cre8-app-passport · level 10 · 5,167 lines (4,486 code) · 12 files · 206 fns (57 tests) · cyclomatic Σ 458

15workspace deps
7direct dependents
88transitive dependents
213calls out
8calls in
177call-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 · 5 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencedev dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 6 calls · source referencenormal dep · 76 calls · source referencenormal dep · 11 calls · source referencenormal dep · 17 calls · source referencenormal dep · 3 calls · source referencenormal dep · 7 calls · source referencenormal dep · 55 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 4 calls · source referencenormal dep · 1 calls · source referencenormal dep · 4 calls · source referencenormal dep · 23 calls · source referencenormal dep · 2 calls · source referencenormal dep · 4 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referenceapp-passportL10 · 4,486 linescre8-app-passportapp-agentL24 · 25,428 linescre8-app-agentapp-code_changeL22 · 2,183 linescre8-app-code_changeapp-controllerL27 · 1,289 linescre8-app-controllerapp-mcpL16 · 3,644 linescre8-app-mcpapp-networkL11 · 15,383 linescre8-app-networkapp-accountL9 · 3,668 linescre8-app-accountapp-passport-modelL4 · 2,434 linescre8-app-passport-modelapp-protocolL9 · 26,097 linescre8-app-protocolapp-truthL7 · 20,485 linescre8-app-truthplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-hostL1 · 1,649 linescre8-runtime-hostutil-cryptoL3 · 749 linescre8-util-cryptoutil-jsonL0 · 296 linescre8-util-jsonutil-lock-extL0 · 195 linescre8-util-lock-extutil-secretL0 · 109 linescre8-util-secretapp-realmL27 · 7,854 linescre8-app-realmruntime-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). 206 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
passportssrc/store_browser.rs:13fn726110.4
sessionssrc/store_browser.rs:21fn72516.4
upsert_passportsrc/store_browser.rs:29fn412113.1
count_sessionssrc/store_browser.rs:88fn82713
password_contextsrc/init.rs:2288fn2311942.7
list_passportssrc/store_browser.rs:48fn181712.6
with_safe_internal_redirectsrc/init.rs:875fn165302.4
canonical_account_idsrc/init.rs:784fn31802.4
get_passport_by_idsrc/store_browser.rs:34fn31912.3
validate_scoped_credentialsrc/service_credential.rs:31fn61532.3
connection_matches_patternsrc/service_credential.rs:70fn93202.2
handle_session_createsrc/init.rs:311fn7066181.8
through_gatewaysrc/init.rs:2332fn411701.8
passport_saltsrc/init.rs:93fn31911.7
finish_passport_resultsrc/init.rs:300fn31401.5
connection_scope_matchessrc/service_credential.rs:66fn31111.5
count_passportssrc/store_browser.rs:67fn31311.5
verified_callersrc/init.rs:951fn31601.4
build_scoped_metadatasrc/service_credential.rs:15fn132301.4
get_passport_by_identifiersrc/store_browser.rs:42fn51411.4
run_gateway_requestsrc/init.rs:2132fn91121.3
service_key_accountsrc/init.rs:959fn1131031.2
pick_ttl_mssrc/init.rs:58fn31301.2
put_accountsrc/init.rs:2312fn1811221.2
ensure_credential_not_expiredsrc/service_credential.rs:38fn83101.1
ensure_credential_call_limit_availablesrc/service_credential.rs:47fn93101.1
ensure_connection_scope_allowssrc/service_credential.rs:57fn83111.1
external_scopesrc/init.rs:1145fn72311.1
handle_passport_create_gatewaysrc/init.rs:700fn8366161.1
get_session_by_idsrc/store_browser.rs:76fn31411.1
with_session_redirectsrc/init.rs:870fn41411.1
with_passport_create_redirectsrc/init.rs:865fn41311.1
passport_publicsrc/init.rs:121fn121301.1
get_session_by_access_tokensrc/store_browser.rs:80fn31511.1
passport_gateway_resultsrc/init.rs:2142fn256251.1
passport_lookupsrc/connection.rs:265fn124131
session_lookupsrc/connection.rs:278fn124131
insert_passport_gateway_reportsrc/init.rs:2244fn191121
connectsrc/connection.rs:291fn126161
link_ttl_mssrc/init/sign_in_link.rs:39fn42201

Outside the workspace

anyhow getrandom hex hyperdb serde serde_json