diff --git a/packages/rs-dapi-client/src/transport.rs b/packages/rs-dapi-client/src/transport.rs index fc80cef58f..3e342dbd70 100644 --- a/packages/rs-dapi-client/src/transport.rs +++ b/packages/rs-dapi-client/src/transport.rs @@ -16,7 +16,7 @@ use std::fmt::Debug; #[cfg(not(target_arch = "wasm32"))] pub use tonic_channel::{ - create_channel, CoreGrpcClient, PlatformGrpcClient, TonicBackonSleeper as BackonSleeper, + create_channel, CoreGrpcClient, PlatformGrpcClient, TokioBackonSleeper as BackonSleeper, }; #[cfg(target_arch = "wasm32")] pub use wasm_channel::{ diff --git a/packages/rs-dapi-client/src/transport/tonic_channel.rs b/packages/rs-dapi-client/src/transport/tonic_channel.rs index 927dcc91b3..0df0f55bf2 100644 --- a/packages/rs-dapi-client/src/transport/tonic_channel.rs +++ b/packages/rs-dapi-client/src/transport/tonic_channel.rs @@ -11,7 +11,7 @@ pub type CoreGrpcClient = CoreClient; /// backon::Sleeper // #[derive(Default, Clone, Debug)] -pub type TonicBackonSleeper = backon::TokioSleeper; +pub type TokioBackonSleeper = backon::TokioSleeper; // impl backon::Sleeper for TonicBackonSleeper { // type Sleep = ::Sleep; diff --git a/packages/rs-sdk/Cargo.toml b/packages/rs-sdk/Cargo.toml index ffe852f195..1be9978ede 100644 --- a/packages/rs-sdk/Cargo.toml +++ b/packages/rs-sdk/Cargo.toml @@ -65,7 +65,6 @@ test-case = { version = "3.3.1" } assert_matches = "1.5.0" [features] -# TODO make a way to enable "tokio/rt-multi-thread" if someone uses --no-default-features default = ["mocks", "offline-testing", "dapi-grpc/client"] mocks = [