Skip to main content

turbo_tasks_fetch/
lib.rs

1#![feature(min_specialization)]
2#![feature(arbitrary_self_types)]
3#![feature(arbitrary_self_types_pointers)]
4
5mod client;
6mod error;
7mod response;
8// A non-functional stand-in for `reqwest` on wasm; see the module docs for why reqwest cannot be
9// used there.
10#[cfg(target_family = "wasm")]
11mod wasm_reqwest;
12
13pub use crate::{
14    client::{
15        __test_only_reqwest_client_cache_clear, __test_only_reqwest_client_cache_len,
16        FetchClientConfig,
17    },
18    error::{FetchError, FetchErrorKind, FetchIssue},
19    response::{FetchResult, HttpResponse, HttpResponseBody},
20};