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-platform-http crates cargo crate

Shared native HTTP client helpers — bounded body readers, sensitive-marker redaction, percent-encoding, cached ureq Agent. Second crate in the cre8-platform-* tier.

crates/cre8-platform-http · level 3 · 1,026 lines (852 code) · 2 files · 64 fns (27 tests) · cyclomatic Σ 137

1workspace deps
19direct dependents
263transitive dependents
2calls out
206calls in
231call-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 · 2 calls · source referencenormal dep · 9 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 5 calls · source referencenormal dep · 14 calls · source referencenormal dep · 13 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 4 calls · source referencenormal dep · 6 calls · source referencenormal dep · 127 calls · source referencenormal dep · 3 calls · source referencenormal dep · 13 calls · source referencenormal dep · 0 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referenceplatform-httpL3 · 852 linescre8-platform-httpapp-capitalstrategyL19 · 85,927 linescre8-app-capitalstrategyapp-channelL11 · 22,485 linescre8-app-channelapp-deviceL9 · 14,646 linescre8-app-deviceapp-eventL17 · 14,506 linescre8-app-eventapp-flightL9 · 4,534 linescre8-app-flightapp-googleL10 · 2,588 linescre8-app-googleapp-intelligenceL12 · 6,289 linescre8-app-intelligenceapp-network-clientL4 · 3,656 linescre8-app-network-clientapp-personL10 · 766 linescre8-app-personapp-propertyL21 · 11,091 linescre8-app-propertyapp-providerL16 · 71,707 linescre8-app-providerapp-scheduleL13 · 37,450 linescre8-app-scheduleapp-siteL13 · 57,528 linescre8-app-siteapp-socialL21 · 48,097 linescre8-app-socialapp-view-native-webviewL4 · 1,329 linescre8-app-view-native-webviewapp-voiceL16 · 8,236 linescre8-app-voiceplatformL5 · 84 linescre8-platformruntime-coreL2 · 747 linescre8-runtime-coreruntime-systemL5 · 2,393 linescre8-runtime-systemutil-webpushL4 · 625 linescre8-util-webpush

Files

lowhigh

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
sanitize_error_bodysrc/lib.rs:332fn31341125.9
percent_encode_componentsrc/lib.rs:364fn15350024
truncate_error_bodysrc/lib.rs:391fn1341022.5
fetchsrc/lib.rs:76fn10169219.1
response_error_detail_from_bytessrc/lib.rs:251fn4145113.3
response_error_detailsrc/lib.rs:258fn612312.2
fetch_nativesrc/lib.rs:88fn51138.6
fetch_wasmsrc/lib.rs:195fn253118.6
wasm_fetch_responsesrc/lib.rs:222fn173117.8
wasm_fetch_bodysrc/lib.rs:241fn93107.1
read_bounded_readersrc/lib.rs:381fn92504.8
cached_timeout_agentsrc/lib.rs:34fn61504.7
non_empty_response_bodysrc/lib.rs:265fn42104
json_error_detailsrc/lib.rs:270fn41114
error_detail_from_objectsrc/lib.rs:275fn31113.9
object_error_detailsrc/lib.rs:279fn42113.8
FetchResponse::headersrc/lib.rs:71method311003.7
read_bounded_response_stringsrc/lib.rs:287fn91323.2
native_fetch_requestsrc/lib.rs:95fn51122.9
send_native_fetch_requestsrc/lib.rs:139fn144102.9
native_fetch_responsesrc/lib.rs:166fn103122.9
read_bounded_response_jsonsrc/lib.rs:316fn81412.7
ipv4_is_publicsrc/public_fence.rs:27fn2119202.4
collect_response_headerssrc/lib.rs:157fn71212
read_bounded_response_bytessrc/lib.rs:306fn81212
utf8_response_stringsrc/lib.rs:298fn62201.9
address_is_publicsrc/public_fence.rs:20fn62321.9
default_agentsrc/lib.rs:110fn82101.7
with_native_fetch_query_and_headerssrc/lib.rs:120fn124121.7
bounded_fetch_responsesrc/lib.rs:178fn71121.7
bounded_status_fetch_responsesrc/lib.rs:187fn61121.7
should_set_json_content_typesrc/lib.rs:134fn32201.7
serve_oncesrc/lib.rs:413fn494501.6
ipv6_is_publicsrc/public_fence.rs:49fn3515111.3
PublicOnlyResolver::resolve_publicsrc/public_fence.rs:94method153211.1
ipsrc/public_fence.rs:129fn31200.9
public_only_agentsrc/public_fence.rs:121fn31200.9
serve_keep_alivesrc/lib.rs:465fn436100.7
read_bounded_error_bodysrc/lib.rs:326fn51120.6
requests_without_an_agent_reuse_one_connection_for_gets_onlysrc/lib.rs:510fn252020.5

Outside the workspace

anyhow serde serde_json ureq