diff --git a/client/src/lib.rs b/client/src/lib.rs index a19efe0..5de45b5 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -23,7 +23,9 @@ use send_wrapper::SendWrapper; use stream_provider::{StreamProvider, StreamProviderService}; use thiserror::Error; use utils::{ - asyncread_to_readablestream_stream, convert_body, entries_of_object, from_entries, is_null_body, is_redirect, object_get, object_set, object_truthy, IncomingBody, UriExt, WasmExecutor, WispTransportRead, WispTransportWrite + asyncread_to_readablestream_stream, convert_body, entries_of_object, from_entries, + is_null_body, is_redirect, object_get, object_set, object_truthy, IncomingBody, UriExt, + WasmExecutor, WispTransportRead, WispTransportWrite, }; use wasm_bindgen::prelude::*; use wasm_bindgen_futures::JsFuture; diff --git a/client/src/stream_provider.rs b/client/src/stream_provider.rs index e33e900..c8b374c 100644 --- a/client/src/stream_provider.rs +++ b/client/src/stream_provider.rs @@ -1,9 +1,4 @@ -use std::{ - io::{ErrorKind}, - pin::Pin, - sync::Arc, - task::Poll, -}; +use std::{io::ErrorKind, pin::Pin, sync::Arc, task::Poll}; use cfg_if::cfg_if; use futures_rustls::{