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-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
258transitive dependents
2calls out
204calls in
235call-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.

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:332fn31341126.1
percent_encode_componentsrc/lib.rs:364fn15349023
truncate_error_bodysrc/lib.rs:391fn1341022.7
fetchsrc/lib.rs:76fn10168220.4
response_error_detail_from_bytessrc/lib.rs:251fn4145113.3
response_error_detailsrc/lib.rs:258fn612312.3
fetch_nativesrc/lib.rs:88fn51139.2
fetch_wasmsrc/lib.rs:195fn253119.2
wasm_fetch_responsesrc/lib.rs:222fn173118.3
wasm_fetch_bodysrc/lib.rs:241fn93107.5
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
FetchResponse::headersrc/lib.rs:71method311003.8
object_error_detailsrc/lib.rs:279fn42113.8
read_bounded_response_stringsrc/lib.rs:287fn91323.2
native_fetch_requestsrc/lib.rs:95fn51123.1
send_native_fetch_requestsrc/lib.rs:139fn144103.1
native_fetch_responsesrc/lib.rs:166fn103123.1
read_bounded_response_jsonsrc/lib.rs:316fn81412.8
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:298fn62202
address_is_publicsrc/public_fence.rs:20fn62321.9
default_agentsrc/lib.rs:110fn82101.8
with_native_fetch_query_and_headerssrc/lib.rs:120fn124121.8
bounded_fetch_responsesrc/lib.rs:178fn71121.8
bounded_status_fetch_responsesrc/lib.rs:187fn61121.8
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