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-network-client network cargo crate

Shared network egress client, audit policy, and proxy registry for CRE8 app crates.

crates/cre8-app-network-client · level 4 · 4,709 lines (3,590 code) · 7 files · 263 fns (91 tests) · cyclomatic Σ 408

3workspace deps
29direct dependents
203transitive dependents
45calls out
582calls in
415call-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 · 9 callsnormal dep · 3 callsnormal dep · 6 callsnormal dep · 67 callsnormal dep · 6 callsnormal dep · 5 callsnormal dep · 19 callsnormal dep · 13 callsnormal dep · 9 callsnormal dep · 7 callsnormal dep · 0 calls · never namednormal dep · 9 callsnormal dep · 6 callsnormal dep · 26 callsnormal dep · 18 callsnormal dep · 11 callsnormal dep · 12 callsdev dep · 4 callsnormal dep · 15 callsnormal dep · 4 callsnormal dep · 27 callsnormal dep · 69 callsnormal dep · 3 callsnormal dep · 12 callsnormal dep · 174 callsnormal dep · 7 callsnormal dep · 3 callsnormal dep · 3 callsnormal dep · 57 callsnormal dep · 6 callsnormal dep · 4 callsnormal dep · 4 callsnormal dep · 9 callsapp-network-clientL4 · 3,590 linescre8-app-network-clientapp-achievementL10 · 2,982 linescre8-app-achievementapp-adL11 · 6,321 linescre8-app-adapp-capitalstrategyL18 · 87,096 linescre8-app-capitalstrategyapp-computeL13 · 93,890 linescre8-app-computeapp-compute-coreL5 · 6,617 linescre8-app-compute-coreapp-conduitL13 · 77,424 linescre8-app-conduitapp-cryptoL18 · 4,161 linescre8-app-cryptoapp-domainL9 · 4,472 linescre8-app-domainapp-gatewayL12 · 23,741 linescre8-app-gatewayapp-googleL9 · 2,588 linescre8-app-googleapp-intelligence-modelL25 · 1,848 linescre8-app-intelligence-modelapp-interpretL10 · 13,240 linescre8-app-interpretapp-listingL9 · 3,989 linescre8-app-listingapp-networkL10 · 15,733 linescre8-app-networkplatform-envL3 · 316 linescre8-platform-envplatform-httpL3 · 852 linescre8-platform-httpplatform-timeL3 · 65 linescre8-platform-timeplatform-entropyL3 · 59 linescre8-platform-entropyapp-opportunityL9 · 5,995 linescre8-app-opportunityapp-paperL17 · 5,357 linescre8-app-paperapp-paymentL17 · 9,147 linescre8-app-paymentapp-peerL10 · 6,264 linescre8-app-peerapp-postalL9 · 3,330 linescre8-app-postalapp-protocolL8 · 25,151 linescre8-app-protocolapp-providerL15 · 67,827 linescre8-app-providerapp-provisionL9 · 5,523 linescre8-app-provisionapp-satelliteL7 · 4,232 linescre8-app-satelliteapp-seoL9 · 1,954 linescre8-app-seoapp-transportL9 · 16,843 linescre8-app-transportapp-truthL6 · 20,464 linescre8-app-truthapp-tvL17 · 19,696 linescre8-app-tvapp-virtual_agentL24 · 21,761 linescre8-app-virtual_agentruntime-vmL9 · 4,285 linescre8-runtime-vm

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

functionkindlinescyclomaticcallerscalleesweightcrystal
EgressContext::newsrc/client.rs:164method31185029.2
NetworkClient::sharedsrc/client.rs:499method41182126
NetworkClient::newsrc/client.rs:488method1019023.5
NetworkClient::request_json_with_contextsrc/client.rs:711method56342918.7
NetworkClient::post_json_with_contextsrc/client.rs:645method913416
registrysrc/proxy.rs:166fn41405.7
NetworkClient::get_bytes_with_contextsrc/client.rs:809method4221895.5
NetworkClient::record_errorsrc/client.rs:1111method311845.3
NetworkClient::get_json_with_context_querysrc/client.rs:626method1013515.2
redact_destinationsrc/client.rs:1304fn101455.1
TrafficLedger::recordsrc/traffic.rs:260method3551644.5
NetworkClient::get_json_with_contextsrc/client.rs:622method312314.4
traffic_ledgersrc/traffic.rs:569fn41924.4
NetworkEgressClass::settingssrc/client.rs:56method4214304.2
NetworkEgressPolicy::from_envsrc/client.rs:250method425344
TrafficLedger::newsrc/traffic.rs:246method1311404
network_egress_max_response_bytessrc/client.rs:977fn161833.8
record_egresssrc/traffic.rs:605fn41533.8
NetworkEgressClass::default_timeoutsrc/client.rs:52method31713.7
NetworkClient::preflightsrc/client.rs:1008method251733.7
NetworkClient::record_successsrc/client.rs:1072method381743.7
NetworkClient::fetch_agent_for_tracesrc/client.rs:592method212623.6
egress_policysrc/client.rs:1181fn41513.6
NetworkClient::send_with_contextsrc/client.rs:768method401573.5
EnvVarGuard::unsetsrc/lib.rs:39method721323.5
record_response_bytessrc/traffic.rs:707fn82433.2
safe_request_labelsrc/client.rs:1346fn41513.2
push_audit_eventsrc/client.rs:1201fn82523.2
record_served_egresssrc/traffic.rs:618fn41633.1
egress_audit_storesrc/client.rs:1196fn41202.9
env_locksrc/lib.rs:83fn41102.9
EnvVarGuard::newsrc/lib.rs:27method31412.9
is_private_or_loopback_hostsrc/client.rs:1269fn41332.7
register_chainsrc/proxy.rs:173fn521112.3
data_credit_keysrc/traffic.rs:565fn31302.3
EnvVarGuard::set_varsrc/lib.rs:47method611412.2
NetworkClient::post_bytes_with_contextsrc/client.rs:900method4121392.2
NetworkClient::post_json_ignore_response_with_contextsrc/client.rs:957method911112.1
NetworkClient::agent_for_egresssrc/client.rs:543method61342.1
chain_by_idsrc/proxy.rs:183fn31512.1

Outside the workspace

anyhow serde serde_json ureq