diff --git a/proxmox-client/src/client.rs b/proxmox-client/src/client.rs index 4231bb21..6b606a1c 100644 --- a/proxmox-client/src/client.rs +++ b/proxmox-client/src/client.rs @@ -20,9 +20,6 @@ use crate::{Authentication, Environment, Error, Token}; /// An async [`Client`] requires some kind of async HTTP client implementation. pub trait HttpClient: Send + Sync { type Error: Error; - #[cfg(not(target_arch = "wasm32"))] - type ResponseFuture: Future>, Self::Error>> + Send; - #[cfg(target_arch = "wasm32")] type ResponseFuture: Future>, Self::Error>>; fn request(&self, request: Request>) -> Self::ResponseFuture;