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.
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| sanitize_error_bodysrc/lib.rs:332 | fn | 31 | 3 | 41 | 1 | 26.1 | |
| percent_encode_componentsrc/lib.rs:364 | fn | 15 | 3 | 49 | 0 | 23 | |
| truncate_error_bodysrc/lib.rs:391 | fn | 13 | 4 | 1 | 0 | 22.7 | |
| fetchsrc/lib.rs:76 | fn | 10 | 1 | 68 | 2 | 20.4 | |
| response_error_detail_from_bytessrc/lib.rs:251 | fn | 4 | 1 | 45 | 1 | 13.3 | |
| response_error_detailsrc/lib.rs:258 | fn | 6 | 1 | 2 | 3 | 12.3 | |
| fetch_nativesrc/lib.rs:88 | fn | 5 | 1 | 1 | 3 | 9.2 | |
| fetch_wasmsrc/lib.rs:195 | fn | 25 | 3 | 1 | 1 | 9.2 | |
| wasm_fetch_responsesrc/lib.rs:222 | fn | 17 | 3 | 1 | 1 | 8.3 | |
| wasm_fetch_bodysrc/lib.rs:241 | fn | 9 | 3 | 1 | 0 | 7.5 | |
| read_bounded_readersrc/lib.rs:381 | fn | 9 | 2 | 5 | 0 | 4.8 | |
| cached_timeout_agentsrc/lib.rs:34 | fn | 6 | 1 | 5 | 0 | 4.7 | |
| non_empty_response_bodysrc/lib.rs:265 | fn | 4 | 2 | 1 | 0 | 4 | |
| json_error_detailsrc/lib.rs:270 | fn | 4 | 1 | 1 | 1 | 4 | |
| error_detail_from_objectsrc/lib.rs:275 | fn | 3 | 1 | 1 | 1 | 3.9 | |
| FetchResponse::headersrc/lib.rs:71 | method | 3 | 1 | 10 | 0 | 3.8 | |
| object_error_detailsrc/lib.rs:279 | fn | 4 | 2 | 1 | 1 | 3.8 | |
| read_bounded_response_stringsrc/lib.rs:287 | fn | 9 | 1 | 3 | 2 | 3.2 | |
| native_fetch_requestsrc/lib.rs:95 | fn | 5 | 1 | 1 | 2 | 3.1 | |
| send_native_fetch_requestsrc/lib.rs:139 | fn | 14 | 4 | 1 | 0 | 3.1 | |
| native_fetch_responsesrc/lib.rs:166 | fn | 10 | 3 | 1 | 2 | 3.1 | |
| read_bounded_response_jsonsrc/lib.rs:316 | fn | 8 | 1 | 4 | 1 | 2.8 | |
| ipv4_is_publicsrc/public_fence.rs:27 | fn | 21 | 19 | 2 | 0 | 2.4 | |
| collect_response_headerssrc/lib.rs:157 | fn | 7 | 1 | 2 | 1 | 2 | |
| read_bounded_response_bytessrc/lib.rs:306 | fn | 8 | 1 | 2 | 1 | 2 | |
| utf8_response_stringsrc/lib.rs:298 | fn | 6 | 2 | 2 | 0 | 2 | |
| address_is_publicsrc/public_fence.rs:20 | fn | 6 | 2 | 3 | 2 | 1.9 | |
| default_agentsrc/lib.rs:110 | fn | 8 | 2 | 1 | 0 | 1.8 | |
| with_native_fetch_query_and_headerssrc/lib.rs:120 | fn | 12 | 4 | 1 | 2 | 1.8 | |
| bounded_fetch_responsesrc/lib.rs:178 | fn | 7 | 1 | 1 | 2 | 1.8 | |
| bounded_status_fetch_responsesrc/lib.rs:187 | fn | 6 | 1 | 1 | 2 | 1.8 | |
| should_set_json_content_typesrc/lib.rs:134 | fn | 3 | 2 | 2 | 0 | 1.7 | |
| serve_oncesrc/lib.rs:413 | fn | 49 | 4 | 5 | 0 | 1.6 | |
| ipv6_is_publicsrc/public_fence.rs:49 | fn | 35 | 15 | 1 | 1 | 1.3 | |
| PublicOnlyResolver::resolve_publicsrc/public_fence.rs:94 | method | 15 | 3 | 2 | 1 | 1.1 | |
| ipsrc/public_fence.rs:129 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| public_only_agentsrc/public_fence.rs:121 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| serve_keep_alivesrc/lib.rs:465 | fn | 43 | 6 | 1 | 0 | 0.7 | |
| read_bounded_error_bodysrc/lib.rs:326 | fn | 5 | 1 | 1 | 2 | 0.6 | |
| requests_without_an_agent_reuse_one_connection_for_gets_onlysrc/lib.rs:510 | fn | 25 | 2 | 0 | 2 | 0.5 |
Outside the workspace
anyhow serde serde_json ureq