From 7300ea12fa9d8d462bd7b8971b5dc687162ab39d Mon Sep 17 00:00:00 2001 From: Xavrax Date: Tue, 1 Aug 2023 15:13:09 +0200 Subject: [PATCH] all checks should be valid --- src/dx/pubnub_client.rs | 1 + src/dx/subscribe/builders/subscribe.rs | 1 + src/dx/subscribe/mod.rs | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dx/pubnub_client.rs b/src/dx/pubnub_client.rs index 847e8322..a4027d74 100644 --- a/src/dx/pubnub_client.rs +++ b/src/dx/pubnub_client.rs @@ -817,6 +817,7 @@ mod should { secret_key: Some("sec_key".into()), user_id: Arc::new("".into()), auth_key: None, + #[cfg(feature = "std")] retry_policy: Default::default(), }; diff --git a/src/dx/subscribe/builders/subscribe.rs b/src/dx/subscribe/builders/subscribe.rs index 5d630dea..aa22ea60 100644 --- a/src/dx/subscribe/builders/subscribe.rs +++ b/src/dx/subscribe/builders/subscribe.rs @@ -302,6 +302,7 @@ where } } +#[cfg(feature = "std")] #[cfg(test)] mod should { use super::*; diff --git a/src/dx/subscribe/mod.rs b/src/dx/subscribe/mod.rs index 36246403..3a826d22 100644 --- a/src/dx/subscribe/mod.rs +++ b/src/dx/subscribe/mod.rs @@ -557,12 +557,13 @@ impl PubNubClientInstance { } } +#[cfg(feature = "std")] #[cfg(test)] mod should { use super::*; use crate::core::blocking; use crate::{ - core::{TransportRequest, TransportResponse}, + core::{PubNubError, TransportRequest, TransportResponse}, Keyset, PubNubClientBuilder, PubNubGenericClient, };